This is probably a faq.

I'm trying to server jsp pages from a webdav repository. All files with 
the *.jsp url are catched by JspServlet, but it seems that jspServlet 
only looks for the jsp as a file under the web applications directory.

Isn't the JspServlet supposed to follow the rules specified in the 
web.xml file in tomcat 4.0.*?

Log extract;

2002-01-30 12:15:30 StandardContext[/repository]: Mapping 
contextPath='/repository' with requestURI='/repository/test.jsp' and 
relativeURI='/test.jsp'
2002-01-30 12:15:30 StandardContext[/repository]: Decoded 
relativeURI='/test.jsp'
2002-01-30 12:15:30 StandardContext[/repository]:   Trying exact match
2002-01-30 12:15:30 StandardContext[/repository]:   Trying prefix match
2002-01-30 12:15:30 StandardContext[/repository]:   Trying extension match
2002-01-30 12:15:30 StandardContext[/repository]:  Mapped to servlet 
'jsp' with servlet path '/test.jsp' and path info 'null' and update=true

Then a 404.

If I put the test.jsp file under webapps/repository/test.jsp as a file 
it works.

-- 
-Torgeir


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to