or if you want to keep them outside of WEB-INF add a line like this to your web.xml
<security-constraint>
<web-resource-collection>
<web-resource-name>private</web-resource-name>
<url-pattern>/myPages/*</url-pattern>
</web-resource-collection>
<auth-constraint/>
</security-constraint>From: "Greg Hess" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Subject: RE: saving jsp in WEB-INF Date: Thu, 6 Nov 2003 13:38:20 -0500
<forward name="success" path="/WEB-INF/pages/admin/index.jsp" />
> -----Original Message----- > From: Rajat Pandit [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 06, 2003 2:33 PM > To: Struts Users Mailing List > Subject: saving jsp in WEB-INF > > hello, > i have read in a number of places that for increased security, the jsp > files should be put in a folder inside WEB-INF/ so that outside world > cannot access it. i am now wondering how would i do the required > <forward... mapping in that csae. > it would be great is anyone doing that would like to share (a part of) > of the struts-config.xml /web.xml with me. > thanks everone. > -- > > > Rajat Pandit | [EMAIL PROTECTED] > +91 612 3117606 > [ Developer and Part Time Human Being] > > > > --------------------------------------------------------------------- > 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]
_________________________________________________________________
Frustrated with dial-up? Get high-speed for as low as $26.95. https://broadband.msn.com (Prices may vary by service area.)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

