On Mon, 29 Jul 2002, Struts Newsgroup wrote:

> Date: Mon, 29 Jul 2002 22:40:02 -0700
> From: Struts Newsgroup <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: How do I navigate from one subApp to another in Struts1.1?
>
> Subject: Re: How do I navigate from one subApp to another in Struts1.1?
> From: Serge Shikov <[EMAIL PROTECTED]>
>  ===
> Craig R. McClanahan wrote:
> > I'm afraid I don't understand your question.  Don't you know which subapp
> > you want to transfer control to?
> Sure.
>
> > If you want to remember where you came from, that is certainly something
> > you would need to do for yourself -- perhaps by creating a session
> > attribute that is either a string (if you don't need "gosub/return" type
> > functionality) or a Stack (if you do).
> What about request parameters and attributes? If current page before
> call was
>
> /sub-app1/action1.do?param1=value1&param2=value2
>
> shouldn't I also save query string? Return to /sub-app1/action1.do isn't
> the same point as before call.
>
> > Struts doesn't have anything built
> > in to help you keep track of this.
> Why not include this functionality by default?
>
>

Because whether or not you need it, what the format of the URLs is, and
which query parameters to keep are *totally* application dependent.  In
addition, it's really easy to do for yourself.

Craig


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to