struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shekher awasthi <shekher.awas...@gmail.com>
Subject Re: Problem using <s: url /> tag
Date Thu, 26 Nov 2009 10:04:40 GMT
Thanks Friends! Following tag resolved the issue:
<constant name="struts.url.includeParams" value="none" />

On Mon, Nov 23, 2009 at 7:58 PM, Greg Lindholm <greg.lindholm@gmail.com>wrote:

> Check the doc for property *struts.url.includeParams*  for the version of
> struts you are using.
> You may want to change it's value to none.
>
> <constant name="struts.url.includeParams" value="none" />
>
>
>
>
> On Sat, Nov 21, 2009 at 12:48 AM, shekher awasthi <
> shekher.awasthi@gmail.com
> > wrote:
>
> > Hi Friends,
> >
> > I am using the url tag as follows:
> >
> > <s:url id=*"url"* action=*"InvoiceFrame"*>
> >
> > <s:param name=*"invoiceType"*>LocalInvoice</s:param>
> >
> > </s:url>
> >
> > <s:a href=*"%{url}"*>Local Invoice</s:a>
> >
> > The problem is the parameter defined in param tag is getting appended in
> > all
> > others  urls on the JSP page so affecting other url's implementation.
> >
> > Please help me / guide me in resolving this issue.
> >
> >
> >
> > Thanks,
> >
> > Shekher.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message