HI,
I want to password protect a folder in Struts.I have many folders under jsp
like 'test','general','report'.I want to protect only the 'report' folder.I have written this code in web.xml but its blocking all my folders from accessing .
I want only report folder to be password protected. can anybosy plez tell me this.
<security-constraint>
<web-resource-collection>
<web-resource-name>SecureReportJSP</web-resource-name>
<description>Protect the reports</description>
<url-pattern>/report/*</url-pattern> //I have give lke this
<url-pattern>/jsp/report/login.jsp</url-pattern> //and laso like this
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name></role-name>
</auth-constraint>
</security-constraint>
Thanx in advance.Plez help me in this



___________________________________________________ Meet your old school or college friends from 1 Million + database... Click here to reunite www.batchmates.com/rediff.asp



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to