• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

regarding jsp and multiple buttons

 
riyajudeen yousuf
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34648
364
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic