You need to code includeParams="none" in the s:url tags

or
<struts>
   ...
   <constant name="struts.url.includeParams" value="none" />
   ...
</struts>

in your configuration.

Have a look here: http://struts.apache.org/2.x/docs/url.html

I'm pretty certain that will sort you out.


On 4/23/08, Eduardo Dela Rosa <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have the following code in my JSP:
>
> *<s:url id="url7" namespace="/secure" action="viewCustomerDetails">
>  <s:param name="email"><c:out value="${customer.email}"/></s:param>
> </s:url>
> <s:a href="%{url7}">View Customer Details</s:a>*
>
> Assuming that the value of the email is [EMAIL PROTECTED]
>
> After clicking the link generated by the *<s:url>* & *<s:a>*, all hyperlinks
> in next page will have the [EMAIL PROTECTED] encoded in the URL,
> i.e.:
>
> *http://host:8080/mydomain/[EMAIL PROTECTED]
>
> This is apparent even when I don't set params in my *logout.action* link.
>
> Can someone explain this behavior?
>
> Thanks.
> --
> Eduardo Dela Rosa
> "Make things simple, but not simpler - E=mc2"
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to