DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=35453>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35453 Summary: webapps/ROOT/index.jsp is shadowed by servlet Product: Tomcat 5 Version: 5.5.9 Platform: Other OS/Version: other Status: NEW Severity: major Priority: P2 Component: Webapps:Examples AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] webapps/ROOT/index.jsp is shadowed by servlet: <servlet> <servlet-name>org.apache.jsp.index_jsp</servlet-name> <servlet-class>org.apache.jsp.index_jsp</servlet-class> </servlet> <servlet-mapping> <servlet-name>org.apache.jsp.index_jsp</servlet-name> <url-pattern>/index.jsp</url-pattern> </servlet-mapping> This means that you can modify index.jsp but you won't see any change, because the path "/index.jsp" is redirected in web.xml. Me and a co-worker just lost half an hour to this thing, trying to figure out where our redirection went. If you're going to keep "/index.jsp" in a servlet, fine, rename the index.jsp file to index.jsp.example. But having it shadowed is incredibly user-hostile. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]