* SusiDNS: Remove .jsp suffixes

This commit is contained in:
zzz
2011-11-14 15:06:23 +00:00
parent 7f467dbdc8
commit 7aff01ea84
27 changed files with 133 additions and 99 deletions

View File

@ -14,14 +14,14 @@ import org.mortbay.jetty.servlet.WebApplicationHandler;
* Convert foo.jsp to foo_xx.jsp for language xx.
* This is appropriate for jsps with large amounts of text.
*
* Also, as of 0.8.2, rewrite "/" and "/index.html" to "/index.jsp",x
* Also, as of 0.8.2, rewrite "/" and "/index.html" to "/index.jsp",
* and "/foo" to "/foo.jsp".
*
* @author zzz
*/
public class LocaleWebAppHandler extends WebApplicationHandler
{
private I2PAppContext _context;
private final I2PAppContext _context;
public LocaleWebAppHandler(I2PAppContext ctx) {
super();
@ -32,7 +32,7 @@ public class LocaleWebAppHandler extends WebApplicationHandler
* Handle foo.jsp by converting to foo_xx.jsp
* for language xx, where xx is the language for the default locale,
* or as specified in the routerconsole.lang property.
* Unless language==="en".
* Unless language == "en".
*/
@Override
public void handle(String pathInContext,

View File

@ -63,7 +63,7 @@ public class SummaryBarRenderer {
"<hr><table>" +
"<tr><td><a href=\"/susidns/index.jsp\" target=\"_blank\" title=\"")
"<tr><td><a href=\"/susidns/index\" target=\"_blank\" title=\"")
.append(_("Manage your I2P hosts file here (I2P domain name resolution)"))
.append("\">")
.append(_("Addressbook"))