aspose file tools*
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
JavaRanch » Java Forums » Java » JSP
Bookmark "Adding parameter to the url" Watch "Adding parameter to the url" New topic
Author

Adding parameter to the url

rahul deo
Greenhorn

Joined: Jul 05, 2011
Posts: 10
Hi

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?
 
 
subject: Adding parameter to the url