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

Reply via email to