Message -
From: Antonio Petrelli
To: Struts Users Mailing List
Sent: Tuesday, July 25, 2006 6:23 PM
Subject: Re: A problem with form-based login
David Soler ha scritto:
> But I want to use the default form-based login (in web.xml)
>
> I'll try to explain my
David Soler ha scritto:
But I want to use the default form-based login (in web.xml)
I'll try to explain my problem better.
When you enter the page, the login form appears, becuase of this:
FORM
my realm
/LoginForm.jsp
/LoginError.jsp
Why don't you change directly then?
want struts (or tomcat or whatever) to remember
what page I wanted to go to. Just I want it to go to the index page.
thanks
David
-Mensaje original-
De: Jose Cardoso [mailto:[EMAIL PROTECTED]
Enviado el: martes, 25 de julio de 2006 14:10
Para: Struts Users Mailing List
Asunto: RE: A pr
1- Create a jsp page where you will allow for the typping of username
and password lets call this page login.jsp
2- in the login.jsp, within the body tag call the struts-config.xml:
3- In the struts-config.xml define the action:
for example:
This is your
action class where you will ch
4 matches
Mail list logo