Thanks. Looks like it would not help me:( I will try to explain my problem:
When user navigates through my application she may set some parameters (like category, platform, tags and so on). This information is saved in GET parameters. I like it. All information is stored in url from-the-box when I use s:url. But there is a one parameter I want never to be saved. For example I am on Foo.action?category=bar&platform=42. And I use <s:url action="Bar"> <param name="page" value="123"/> </s:url> I want to have link Bar.action?category=bar&platform=42&page=123 here. But on the Bar I have: <s:url action="Foo"/> And I want to go to Foo.action?category=bar&platform=42. NOT Foo.action?category=bar&platform=42&page=123 Yes, I can use "page=null" everywhere, but it is not good idea I think. I can wrap s:url with my tag, but my IDE recognizes struts tags and gives me pretty intelli-sense for actions I do not want to loose. Could my trouble be solved?) Thank you. Ilya. -----Original Message----- From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] Sent: Monday, March 14, 2011 3:04 AM To: Struts Users Mailing List Subject: Re: RE: Exclude parameter from URL tag Take a look at [1], you could use the exclude params list. IIRC there should be a xwork interceptor suited for this purpose. [1] http://struts.apache.org/2.1.2/struts2-core/apidocs/com/opensymphony/xwork2/ interceptor/ParametersInterceptor.html Maurizio Cucchiara Il giorno 14/mar/2011 00.45, "Ilya Kazakevich" < ilya.kazakev...@jetbrains.com> ha scritto: Thanks and does there is a way to configure it for all cases? I want to exclude one param from all places -----Original Message----- From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] Sent: Mo... --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org