I have jsp page and html form with button on this. How execute java code by pressing the button if this code writen on this jsp page?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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!