Thanks Laurie! That was it. I had a busy box in a javascript on the page and the src property of the images in there was set to '' (i.e. blank).
Thanks a lot. -Rahul -----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: Wednesday, November 08, 2006 9:03 PM To: user@struts.apache.org Subject: Re: Confused by issue with being directed to index.jsp Patel, Rahul 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. I'm not sure I really understand your problem description, but it *sounds* like the browser is making a request to the application context root during rendering of the intended page. A common cause for that is an <img> tag's src attribute, or some other URL in the page, pointing to '#' or '#something' -- e.g. <img src="#"/>. Check your rendered HTML for stray references to resources (images, stylesheets, etc). L. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html ============================================================================== --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]