This snipet is from WEB.XMl (and not Struts.xml): <security-constraint> <web-resource-collection> <web-resource-name>Secure</web-resource-name> <url-pattern>/do/loginPg/*</url-pattern> <url-pattern>/do/newsBlgCmntAddPg/*</url-pattern> <url-pattern>/do/userChngPg/*</url-pattern>
</web-resource-collection> <auth-constraint> <role-name>VALID</role-name> <role-name>ENHANCED</role-name> <role-name>GUEST</role-name> <role-name>EXPIRED</role-name> <role-name>ADMIN</role-name>
</auth-constraint> <user-data-constraint> <transport-guarantee>NONE</transport-guarantee> </user-data-constraint> </security-constraint>
<login-config> <auth-method>FORM</auth-method> <form-login-config> <form-login-page>/sLogin/login.jsp</form-login-page> <form-error-page>/sLogin/loginBad.jsp</form-error-page> </form-login-config> </login-config>
Here is a link on more WEB.XML (that works on any J2EE container -such as Tomcat):
http://e-docs.bea.com/wls/docs70/webapp/web_xml.html
.V
Tiago Henrique Costa Rodrigues Alves wrote:
Where can I find Struts Roles documentation?
Tiago Henrique C. R. Alves
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]