forked from I2P_Developers/i2p.i2p
- Fix help.jsp mapping to language
- Fix nowebapp.jsp for non-started webapps - Fix nowebapp.jsp for url /foo for non-started webapp foo
This commit is contained in:
@@ -76,9 +76,7 @@ public class LocaleWebAppHandler extends WebAppContext
|
||||
if (lang != null && lang.length() > 0 && !lang.equals("en")) {
|
||||
String testPath = pathInContext.substring(0, len - 4) + '_' + lang + ".jsp";
|
||||
// Do we have a servlet for the new path that isn't the catchall *.jsp?
|
||||
//Map.Entry servlet = getHolderEntry(testPath);
|
||||
///////////////////////////////
|
||||
Map.Entry servlet = null;
|
||||
Map.Entry servlet = getServletHandler().getHolderEntry(testPath);
|
||||
if (servlet != null) {
|
||||
String servletPath = (String) servlet.getKey();
|
||||
if (servletPath != null && !servletPath.startsWith("*")) {
|
||||
|
||||
Reference in New Issue
Block a user