how to execute the code by pressing the button? JSP

First, when the user press a button , it is in the front end , not the back end ,so when the user press the button , it should invoke a request through the http protocol , when the server accept this request , it can call your java code ,but I don’t think you can do in your way!

Leave a Comment