Well, you could put in a check for whether they are already in the login page. You 
could use methods like getRequestURI() on the request object or something like:
if ((request.getParameter("username") != null) && (request.getParameter("passowrd") != 
null) ) {
        return true; //ie normal processing without error
} else etc..

Hth,
Geeta

> -----Original Message-----
> From: Asim Ghosh [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 30, 2004 11:31 AM
> To: Struts Users Mailing List
> Subject: RE: redirect to login page with error message on the jsp page
> 
> 
> this is what i have done but using ActionServlet class. But 
> how to avoid for the first time.
> > 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to