Why don't you do it in your struts config xml? If authenticated, return a
forward for action/getaccountinformation; if failed, return mapping.getInput
(u need to define input as login page)?

Regards,
 
 
Phillip Qin
 
"This Guy Thinks He Knows Everything"


-----Original Message-----
From: Suresh Addagalla [mailto:[EMAIL PROTECTED]] 
Sent: December 30, 2002 8:02 AM
To: [EMAIL PROTECTED]
Subject: redirect attribute (newbie)

Hi,

I have a loginAction. If login is successfu, I want to perform another
action as follows.

<forward name="Success" path="/action/getaccountinformation"
redirect="true"/>

I am not sure whether to use true or false for "redirect". What is the
difference and which one should I use in this case?

Thanks,
Suresh

Reply via email to