Hi I have been trying to block access to jsp directly, here is my folder structure pages -- | --index.jsp --access.jsp --logo.gif
In my web-xml file if i add <web-resource-name> Restrict access to JSP pages </web-resource-name> <url-pattern>/pages/*</url-pattern> </web-resource-collection> it blocks logo.gif also, and i cannot add <web-resource-name> Restrict access to JSP pages </web-resource-name> <url-pattern>/pages/*.jsp</url-pattern> </web-resource-collection> because it gives me java.lang.IllegalArgumentException: Invalid <url-pattern> /pages/*.jsp in security constraint So how do i block access to all jsp in pages folder ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]