2002. november 18. 13:36 d�tummal Andrew Hill ezt �rtad:
> As Gemes says, your best bet is to use an attribute for this.
>
> I myself however also have a few places where Id really like to 'decorate'
> an incoming request's parameters.
>
> I have not tried this myself so Ive no idea if it will actually work, but
> maybe one could create a class thats implements HttpServletRequest that
> wraps the original request and allows you to add your own parameters. I
> think that the struts Requestprocessor actually does something like this
> when it parses values submitted for multipart forms.
>
> Before I rush out and waste time trying it though Id like to hear from
> other ppl as to how viable a solution it is and any potential problems.
Just an idea:
return new ActionForward(mapping.findForward("success").getPath() +
"&myparam=" + value);
I didn't try it however.
Tib
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>