This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JSP and the fly likes regarding jsp and multiple buttons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "regarding jsp and multiple buttons " Watch "regarding jsp and multiple buttons " New topic
Author

regarding jsp and multiple buttons

riyajudeen yousuf
Greenhorn

Joined: Jun 28, 2006
Posts: 8
hii to all

i hav one doubt

i hav one black.jsp file in tat 3 buttons are there like first ,second ,third
if i click first button it ll go to one jsp
if i click second button it ll go to another jsp file like tat the third button


the condition is black.jsp contains only one form tag

how can i do this pls help me
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30598
    
154

Riyajudeen,
When the user clicks a button, you can call a JavaScript function to update the value of document.form.action. This will direct the existing form to the proper JSP.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
GeeCON Prague 2014
 
subject: regarding jsp and multiple buttons