Hi, I have the following code in the navbarMenu.jsp:
<html:link forward="exit">LOGOUT</html:link>
and in the struts-config.xml, I have:
<forward
name="exit"
path="/do/Logoff"/>
and
<action
path="/Logoff"
type="org.NameOfOrganization.signoff.LogoffAction">
<forward
name="success"
path="/do/Menu"/>
</action>
In the LogoffAction.java, I invalidate the session and
I want the user to go back the welcome page.
The problem is that it takes two steps for the user to
go back to the welcome page - After the first click,
the same screen remains in the browser. The only
change is what is shown in the address bar. I have to
click the LOGOFF button again and then the welcome
page is displayed.
What should I do to go back to the welcome page in one step?
__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]