The wrapped request should augment the parameters of the original request adding some 
Displaytag parameters (this tag does some things only if it finds his parameters in 
the request, no way to pass this information via attributes).

I managed to do this extending HttpServletRequestWrapper and it works, nevertheless I 
feel sort of "guilty" and like I'm doing something not correct.

Bye, Fabio.



> -----Messaggio originale-----
> Da: David Erickson [mailto:[EMAIL PROTECTED] 
> Inviato: mercoled� 7 gennaio 2004 19:56
> A: Struts Users Mailing List
> Oggetto: Re: Wrapping request - OT
> 
> 
> Couldn't anything you would possible stick in the wrapped 
> request be placed
> into the request attributes?
> -David
> 
> ----- Original Message ----- 
> From: "Grassi Fabio" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 07, 2004 11:49 AM
> Subject: Wrapping request - OT
> 
> 
> Is there something fundamentally wrong in wrapping the request object
> that a Filter receives and pasing on the wrapping object? I would like
> to add some parameters to the original request.
> 
> Thank for your comments. Fabio.
> Ai sensi della Legge 675/96, si precisa che le informazioni 
> contenute in
> questo messaggio sono riservate ed a uso esclusivo del 
> destinatario. Qualora
> il messaggio in parola Le fosse pervenuto per errore, la preghiamo di
> eliminarlo senza copiarlo e di non inoltrarlo a terzi, 
> dandocene gentilmente
> comunicazione. Grazie.<BR><BR>This message, for the law 
> 675/96 may contain
> confidential and/or privileged information. If you are not 
> the addressee or
> authorized to receive this for the addressee, you must not use, copy,
> disclose or take any action based on this message or any 
> information herein.
> If you have received this message in error, please advise the sender
> immediately by reply e-mail and delete this message. Thank 
> you for your
> cooperation.
> 
> 
Ai sensi della Legge 675/96, si precisa che le informazioni contenute in questo 
messaggio sono riservate ed a uso esclusivo del destinatario. Qualora il messaggio in 
parola Le fosse pervenuto per errore, la preghiamo di eliminarlo senza copiarlo e di 
non inoltrarlo a terzi, dandocene gentilmente comunicazione. Grazie.<BR><BR>This 
message, for the law 675/96 may contain confidential and/or privileged information. If 
you are not the addressee or authorized to receive this for the addressee, you must 
not use, copy, disclose or take any action based on this message or any information 
herein. If you have received this message in error, please advise the sender 
immediately by reply e-mail and delete this message. Thank you for your cooperation.

Reply via email to