Xavier Vanderstukken wrote:
IS that class really performs a redirect request?
Can I use the setRedirect method to false to performs a forward with parameters?

Interesting question... someone can correct me if I'm wrong, but I believe the answer is no. Well, to be more precise, you *may* be able tp setRedirect(false) to do a forward, I do not know for sure, but you won't be able to add parameters.

Up to and including servlet spec 2.4, there is no addParameter() method of HttpServletRequest, or any superclass. Since when you do a forward you are passing the same request along, you would need this method to add parameters.

When you do a redirect however, the URL you redirect to includes the parameters as a query string.

So, no, I do not believe it is ever possible, with ActionRedirect or not, to add parameters when doing a forward, only when doing a redirect.

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




.


--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com


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

Reply via email to