Re: A problem with form-based login

2006-07-25 Thread Thomas Joseph
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

Re: A problem with form-based login

2006-07-25 Thread Antonio Petrelli
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?

RE: A problem with form-based login

2006-07-25 Thread David Soler
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

RE: A problem with form-based login

2006-07-25 Thread Jose Cardoso
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