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

Sending a parameter with <s:url.../>

Peter Mest
Ranch Hand

Joined: Aug 14, 2009
Posts: 30
Is possible to hide a parameter using <s:url> tag?

In fact, I want to not a have submit button on my webpage. This means that I don't want to use the <s:submit> tag.

I just want a simple link with the possibility to send a parameter to my action.
David Newton

Joined: Sep 29, 2008
Posts: 12617

I'm not sure what you mean by "hide" a parameter. Maybe just make a link with an onclick that submits the form.
I agree. Here's the link:
subject: Sending a parameter with <s:url.../>
It's not a secret anymore!