RE: Resuming request

2002-02-17 Thread Danny Collins

I think if you were to forward to the input


Mapping.findForward("input"); 

I think will solve the problem, it will return to the page and have all
of the values the user just entered.

or something along those lines I get the input one mixed up with
forwards. Either way if you get back to the input you should be fine

HTH without being too confusing
Danny
-Original Message-
From: E. Blood [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, February 17, 2002 7:02 PM
To: [EMAIL PROTECTED]
Subject: Resuming request


I have a problem and I would like advice on the best way to approach
it.

There is a case of where I would like an action to make a modification
to the session and return to the orignal jsp with the orignal request.

So for example, viewing an article, and the request contains the
article number, category information, etc.  There is a a form with a
multiple selection box and a submit that will allow the user to change
article filtering options.

What I want is to be able to submit the form to the action, have the
action modify the session, and return to the orignal article page with
the original request parameters.

It is sort of like the bookmarking a page that requires
authentication, but I didn't find any solutions that returned to the
orignal request after the authentication is complete.

Thanks.

-- 
eblood

--
To unsubscribe, e-mail:

For additional commands, e-mail:




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Resuming request

2002-02-17 Thread SUPRIYA MISRA

use this
return (new ActionForward(mapping.getInput()));

in struts-cofig file
input="bookmark.jsp"  that has been bookmarked



>From: "E. Blood" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Resuming request
>Date: Sun, 17 Feb 2002 17:01:56 -0700
>
>
>I have a problem and I would like advice on the best way to approach
>it.
>
>There is a case of where I would like an action to make a modification
>to the session and return to the orignal jsp with the orignal request.
>
>So for example, viewing an article, and the request contains the
>article number, category information, etc.  There is a a form with a
>multiple selection box and a submit that will allow the user to change
>article filtering options.
>
>What I want is to be able to submit the form to the action, have the
>action modify the session, and return to the orignal article page with
>the original request parameters.
>
>It is sort of like the bookmarking a page that requires
>authentication, but I didn't find any solutions that returned to the
>orignal request after the authentication is complete.
>
>Thanks.
>
>--
>eblood
>
>--
>To unsubscribe, e-mail:   
>
>For additional commands, e-mail: 
>
>




_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: