Changing Request Parameters

2002-02-22 Thread Phase Communcations
I am forwarding from one Action to Another. I need to tweak the request parameters. Is there a way to do this? I tried to set the reqest value by calling the FormBean and set it from the action. But, it doesn't carry over to the next Action. I can't find a way to change the request parameters.

NEVERMIND: Changing Request Parameters

2002-02-22 Thread Phase Communcations
A little more research and I find that it is not possible and that I need to rebuild the and redirect. Cheezy. -Original Message- From: Phase Communcations [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 5:08 AM To: Struts Users Mailing List Subject: Changing Request

Re: NEVERMIND: Changing Request Parameters

2002-02-22 Thread Jin Bal
- Original Message - From: Phase Communcations [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, February 22, 2002 12:16 PM Subject: NEVERMIND: Changing Request Parameters A little more research and I find that it is not possible and that I need to rebuild

Re: NEVERMIND: Changing Request Parameters

2002-02-22 Thread Ted Husted
Phase Communcations wrote: I tried to set the reqest value by calling the FormBean and set it from the action. But, it doesn't carry over to the next Action. I can't find a way to change the request parameters. Please help. The trick is to put a switch on your form bean to make it immutable.

Re: Changing Request Parameters

2002-02-22 Thread Michael Baldwin
Since you're forwarding from Action to Action, you do have a minor issue. Things you set in the request will be reset after the forward. Solution 1: add what you need to the session. Solution 2: extend ActionForward with a subclass that takes a map of name value pairs to stick in the request.