2010/3/28 Binu Kuttikkattu Idicula <binukuttikka...@googlemail.com>:
> It is in corejspbean.war and after trying out
> <url-pattern>/StringBean.jsp</url-pattern>, the access is restricted only to
> the StringBean.jsp which was the real need. Thanks.
>
> A little curious about URL pattern if it is in webapps/corejspbean.. Does
> the pattern change? Is there any rule/documentation mentioing this?
>

1. Syntax for the URL patterns is defined in the Servlet Specification.
http://java.sun.com/products/servlet/download.html#specs

2. All patterns in web.xml are relative to the root of your web
application (aka the context of your web application).  That is why
there is no "corejspbean" in the pattern.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to