• Post Reply Bookmark Topic Watch Topic
  • New Topic

run java code on clicking Submit button in JSP form  RSS feed

 
Laxmi Something
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to run java code on clicking Submit button in JSP form. Also, I want to use the information given in the form in java code.

Thank you
Laxmi
 
Saif Asif
Ranch Hand
Posts: 440
Eclipse IDE Hibernate Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Laxmi and welcome to the ranch,

run java code on clicking Submit button in JSP form
.
There are numerous ways on how to accomplish this depending on the scenario. You need to tell us more details.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66144
144
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java code runs on the server, so you'll need to submit a form, or use Ajax.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!