Tomcat 7 - use <jsp-file> in <servlet> in web.xml -
i switched servers tomcat 5.5 7 in eclipse dev environment. have web.xml file contains following:
<servlet> <servlet-name>calendar</servlet-name> <jsp-file> /budgetcalendar.jsp </jsp-file> </servlet> <servlet-mapping> <servlet-name>calendar</servlet-name> <url-pattern>/calendar</url-pattern> </servlet-mapping>
everything else seems work normally, when visit localhost/budget/calendar 404 error. (my servlet context /budget) going localhost/budget/budgetcalendar.jsp works fine... mapping seems broken. other mappings (to classes, not jsps) work did before. missing happened in tomcat 7? can't seem find docs <jsp-file> tag.
maybe have space in web.xml. did @ access.log? maybe work: <jsp-file>/budgetcalendar.jsp</jsp-file>
Comments
Post a Comment