File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "url tag more parameters" Watch "url tag more parameters" New topic
Author

url tag more parameters

manu chaox
Ranch Hand

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

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

in ProjectAction.java, 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: http://aspose.com/file-tools
 
subject: url tag more parameters