Hi Group,

We are using  Tomcat 6 based Container Managed
Security<http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html>where
we can declare a login page which will be displayed whenever someone
access secured urls. If we look at the samples, the login page is given as
jsp ( login.jsp ). like below

        <*login*-config>
                <auth-method>*FORM*</auth-method>
                <*form*-*login*-config>

<*form*-*login*-page>/*login*.*jsp*</*form*-*login*-page>


<*form*-error-page>/*login*.*jsp?error=true*</*form*-error-page>

                </*form*-*login*-config>
        </*login*-config>

Now, the issue is this .... In our environment we use kind of tiles in which
the layout will be separated from pages. and for this reason i want to set a
action class as my login page. something like

                        <*form*-*login*-page>/*login*.*action*</*form*-*
login*-page>

But this time, i am getting resource not found error ( even though
login.action exists in the application ). When i googled about this, i got
the below question from some other struts 2 user.

http://struts-2.464677.n5.nabble.com/Attempting-FORM-authentication-with-Tomcat6-Tiles-and-failing-badly-td464758.html

Is this the issue with struts or tomcat ? any of have faced/solved this
issue before ?

It will be great if you can give me some pointers to proceed this issue ..

Regards,
Sathish Kumar T

Reply via email to