File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes <s:url second param null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "<s:url second param null" Watch "<s:url second param null" New topic

<s:url second param null

Jacques Mivi

Joined: Nov 24, 2011
Posts: 7

With struts 2 and lib "struts2-jquery-plugin-3.1.0" i can't have 2 params in s:url

First exemple in jsp

First result in log

Second exemple in jsp, where i change the serquence of the params

Second result in log

The second parameter is always null :/ Have you any idea of solution?
Nitin Surana
Ranch Hand

Joined: Jan 21, 2011
Posts: 129

Luckily I had already faced this situation, all you have to do is set escapeAmp as false in <s:url> tag.

Jacques Mivi

Joined: Nov 24, 2011
Posts: 7
It works Thank you very much
I agree. Here's the link:
subject: <s:url second param null
It's not a secret anymore!