I am trying to connect to a database on button click on a jsp page. The value from the textbox of the html page should be captured and used to satisfy the conditions necessary to display the database values. I am using HTML,JSP,Jquery and Ajax. My database is MySql.
I have created a **'forgot password' **link which opens up a new webpage containing a textbox (to enter a mail address to which the password has to be sent) and a send button. How do I proceed with it?
I have tried using ajax and jquery on the jsp page to activate database on button click but they fail.
Example codes are very much apprecited.