Hi,

I cannot use the callPage method to invoke a JSP page from a servlet that
isn't relative to the document root because all I get back are 404 page not
found messages.  I don't want my JSP pages relative to the document root
because I only want users to go through my servlet.

My directory structure on the server that doesn't work:
/jsp/app/login.jsp

The path I'm sending into the callPage method:
"/jsp/app/login.jsp"

I've also tried to put the jsp pages relative to the servlet thus:
/servlet_root/my_servlet_in_this_dir/jsp/app/login.jsp
callPage("jsp/app/login.jsp", request)

Nothing seems to work, though I thought the 0.91 spec stated that the jsp
files could be relative to the servlet that invokes them if you don't use a
leading / character.  The following does work, unfortunately, the pages
would be exposed since they're in the doc_root.
/wwwroot/jsp/app/login.jsp
"/jsp/app/login.jsp"


Any help would be greatly appreciated,

Bruce Grant

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to