jQuery in Action, 3rd edition
The moose likes JSP and the fly likes Adding parameter to the url Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Adding parameter to the url" Watch "Adding parameter to the url" New topic

Adding parameter to the url

rahul deo

Joined: Jul 05, 2011
Posts: 10

I am using the form in jsp and having 4 buttons with different names . On clicking the button each time, the value it should get added to the action url. Can you please tell me, how to do this? Because every time i have to do manually.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Instead why cant you submit form on click via javascript?
I agree. Here's the link: http://aspose.com/file-tools
subject: Adding parameter to the url
It's not a secret anymore!