2015-11-12 17:23 GMT+01:00 Chris <christal...@yahoo.fr>:
> Hello,My mailreader example still doesn't work.
> Precisely n the Login button, and the Cancel button, in the Login page

Have you used 2.5-SNAPSHOT version? You must manually change Struts
version in pom.xml

> Something strange, the new web.xml file looks like the jboss_blank example...
> I tried without those some lines, like the old mailreader example,  but it 
> didn't work neither.
>    <!-- Restricts access to pure JSP files - access available only via Struts 
> action   -->
>     <security-constraint>
>         <display-name>No direct JSP access</display-name>
>         <web-resource-collection>
>             <web-resource-name>No-JSP</web-resource-name>
>             <url-pattern>*.jsp</url-pattern>
>         </web-resource-collection>
>         <auth-constraint>
>             <role-name>no-users</role-name>
>         </auth-constraint>
>     </security-constraint>
>
> ???
>     <security-role>
>         <description>Don't assign users to this role</description>
>         <role-name>no-users</role-name>
>     </security-role>

It's just a security constraint to spread good practises


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to