Use <jsp-file> XML element (under <servlet> node) in your web.xml. Then
dispatch the request to this resource using
ServletContext.getNamedDispatcher("nameoftheresource"). If you use this
method there is no need to use any path. It identifies the resources
based on the name that you pass.Vinod -----Original Message----- From: Jimmy Ray [mailto:[EMAIL PROTECTED] Sent: Thursday, March 17, 2005 4:31 PM To: [email protected] Subject: Mapping JSP I have several JSP that I want to be able to forward to from servlets. Right now I stick my JSP in WEB-INF/jsp for security reasons. I guess I need a way to include a JSP mapping in the web.xml so that my request dispatcher call does not include the WEB-INF directory in its path. Anyone know the syntax for this JSP mapping? Regards, Jimmy Ray __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
