Please reply with the entire index.jsp content and tell us what
version of Struts you are using. I assume 1.2.x, and so I'm not sure
what html:redirect is.
--
James Mitchell
678.910.8017
On Nov 9, 2006, at 6:36 AM, Rahul Patel wrote:
Hi All,
I have a very confusing issue at hand that I have been trying to
solve for a
couple of days.
I have a Struts-based application where my index.jsp has only one line
<html:redirect forward="welcome"/>
Further, once the user logs in, he is forwarded to applications
based on his
feature access. Though, for some reason, when the forward of the
action is
complete, somehow ( I put a breakpoint in the RedirectTag) control
goes to
index.jsp (or that's what it seems like) and the whole
WelcomeAction is
executed on the server side. This happens only on the server side
i.e. the
browser is still displaying the page the user had requested.
Though, on the
server side, once the page is displayed, control goes to index.jsp
as I
said.
The issue is that I perform some session-level initializations at
start up
and since index.jsp executes all that code on the server side again,
everything is re-initialized clearing up what the current jsp (that
the user
had requested) did.
Any help or direction is appreciated.
Thanks,
Rahul
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]