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

url tag more parameters

manu chaox
Ranch Hand

Joined: Apr 10, 2006
Posts: 110
I have some problem with setting parameters:

<s:url action="xxx!deleteRole" id="url" includeParams="all" >
<s:param name="b" value="%{}" />
<s:param name="a" value="%{'22'}"/>

in, there I have

private String a;
private String b;

(with getters, setters)

I am unsuccessful in getting parameters. By this way, I can see only string link with filled parameters during move mouse over link in status web browser.
But parameters aren't set.

I don't know where I make mistake.
Probably, the problem is somewhere in includeParams. I cannot transfer more then one get parameter. (I have tried "all", "get", "none" and always only one has been transfered - only the first.)

Do you have any idea ?

I agree. Here's the link:
subject: url tag more parameters
jQuery in Action, 3rd edition