wood burning stoves 2.0*
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30146
    
150

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: regarding jsp and multiple buttons
 
Similar Threads
get the radio button value in three differnt jsp
Passing a collection in request
Highlight the button which need to be click, in swing applicaton..
Three forms in jsp page
Reg : Jsp file