You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Riccardo Mollame <rm...@yahoo.it> on 2007/08/29 13:42:28 UTC

URL paramters accumulating in a sequence of actions

Can anyone explain to a poor newbie why, after calling
a sequence of actions, each one passing a set of URL
parameters, I end up having in the final URL **all**
the parameters called in the previous actions?  
Thanks in advance. 

         Ric






      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: URL paramters accumulating in a sequence of actions

Posted by Antonio Petrelli <an...@gmail.com>.
2007/8/29, Riccardo Mollame <rm...@yahoo.it>:
>
> Yes: there I have a sequence of "return SUCCESS" all
> with an actions.  Anyway, a good man gave me the
> probable solution: using the includeParams="none" in
> the s:url tag.
> Thanks anyway!



Arnaud was right, I thought that you were writing about Struts 1 (not 2).
Maybe the next time add a [s2] in front of the subject :-)

Antonio

Re: URL paramters accumulating in a sequence of actions

Posted by Riccardo Mollame <rm...@yahoo.it>.
Yes: there I have a sequence of "return SUCCESS" all
with an actions.  Anyway, a good man gave me the
probable solution: using the includeParams="none" in
the s:url tag.
Thanks anyway!

      Ric


--- Antonio Petrelli <an...@gmail.com> ha
scritto:

> 2007/8/29, Riccardo Mollame <rm...@yahoo.it>:
> >
> > Can anyone explain to a poor newbie why, after
> calling
> > a sequence of actions, each one passing a set of
> URL
> > parameters, I end up having in the final URL
> **all**
> > the parameters called in the previous actions?
> 
> 
> 
> What do you mean with "sequence of actions"?
> Do you mean that you are into an action and you
> forward to the URL of
> another action?
> 
> Antonio
> 



      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: URL paramters accumulating in a sequence of actions

Posted by Antonio Petrelli <an...@gmail.com>.
2007/8/29, Riccardo Mollame <rm...@yahoo.it>:
>
> Can anyone explain to a poor newbie why, after calling
> a sequence of actions, each one passing a set of URL
> parameters, I end up having in the final URL **all**
> the parameters called in the previous actions?



What do you mean with "sequence of actions"?
Do you mean that you are into an action and you forward to the URL of
another action?

Antonio

RE: URL paramters accumulating in a sequence of actions

Posted by Riccardo Mollame <rm...@yahoo.it>.
Thanks!
All my best.

     Ric

--- Arnaud Cogoluegnes <ac...@sqli.com> ha
scritto:

> To avoid this behavior, use the global settings
> struts.url.includeParams=none in struts.properties
> or the attribute
> includeParams in each url tag (value can be 'none',
> 'get' or 'all')
> 
> 
> -----Message d'origine-----
> De : Riccardo Mollame [mailto:rmollame@yahoo.it] 
> Envoyé : mercredi 29 août 2007 13:42
> À : user@struts.apache.org
> Objet : URL paramters accumulating in a sequence of
> actions
> 
> Can anyone explain to a poor newbie why, after
> calling
> a sequence of actions, each one passing a set of URL
> parameters, I end up having in the final URL **all**
> the parameters called in the previous actions?  
> Thanks in advance. 
> 
>          Ric
> 
> 
> 
> 
> 
> 
>       ___________________________________ 
> L'email della prossima generazione? Puoi averla con
> la nuova Yahoo! Mail:
> http://it.docs.yahoo.com/nowyoucan.html
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
> 
> 
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
> 
> 



      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: URL paramters accumulating in a sequence of actions

Posted by Arnaud Cogoluegnes <ac...@sqli.com>.
To avoid this behavior, use the global settings
struts.url.includeParams=none in struts.properties or the attribute
includeParams in each url tag (value can be 'none', 'get' or 'all')


-----Message d'origine-----
De : Riccardo Mollame [mailto:rmollame@yahoo.it] 
Envoyé : mercredi 29 août 2007 13:42
À : user@struts.apache.org
Objet : URL paramters accumulating in a sequence of actions

Can anyone explain to a poor newbie why, after calling
a sequence of actions, each one passing a set of URL
parameters, I end up having in the final URL **all**
the parameters called in the previous actions?  
Thanks in advance. 

         Ric






      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail:
http://it.docs.yahoo.com/nowyoucan.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org