I am using Struts 1.1.
Also, I might have typed in the wrong tag - it is supposed to be
<logic:redirect>

My index.jsp just has the following line (and the declaration for the tag
library)

<logic:redirect forward="welcome"/>

I have a menu containing links to forward the user to. e.g. one link
forwards to an action PopulateUserInfo.do Even though, I am just resetting
the corresponding form's data in this action and then forwarding to
UserInfo.jsp, after the entire UserInfo.jsp is loaded, it somehow seems to
be going to index.jsp. I have this issue for all my *.do actions.

On 11/9/06, James Mitchell <[EMAIL PROTECTED]> wrote:

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]


Reply via email to