users@glassfish.java.net

Re: JSP in alternate docroot doesn't compile - bug or feature?

From: <glassfish_at_javadesktop.org>
Date: Sat, 16 May 2009 04:57:34 PDT

Now I'm totaly confused. If I change web.xml like this:
<servlet-mapping>
<servlet-name>JspServlet</servlet-name>
<url-pattern>/jsptestalternatedir/test.jsp</url-pattern>
</servlet-mapping>
everything works fine. What's the difference between direct mapping in web.xml and calling forward on named dispatcher? There shouldn't be any difference at all, but obviously there is some. Can someone provide insightful comment?
[Message sent by forum member 'calaverainfo' (calaverainfo)]

http://forums.java.net/jive/thread.jspa?messageID=346470