It is because no servlet is selected for that url based on both explicit and implicit servlet mappings. You would need to pre-compile the jsp into class file (e.g. basic-arithmetic_jsp.class) and then define and map the servlet:
<servlet-mapping> <servlet-name>basic-arithmetic_jsp</servlet-name> <url-pattern>/basic-arithmetic.jsp/*</url-pattern> </servlet-mapping> <servlet> <servlet-name>basic-arithmetic_jsp</servlet-name> <servlet-class>basic-arithmetic_jsp.class</servlet-name> </servlet> Using this configuration, /test will be passed to your servlet as request path info. You can take a look of section 11.2 of the servlet specification for details. -----Original Message----- From: Xiangzhou Wang [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 4:31 PM To: users@tomcat.apache.org Subject: tomcat 5.5.15 404 - extra path after jsp page I am using tomcat 5.5.15, I can access jsp page, but if I put /something after jsp page, I will get 404 error. e.g. good -> http://localhost:8080/jsp-examples/jsp2/el/basic-arithmetic.jsp error-> http://localhost:8080/jsp-examples/jsp2/el/basic-arithmetic.jsp/test Is there a way to still access the jsp and use getPathInfo to get "test"? change config ?? Thanks, William --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]