I am new to jsp. I need to know how to execute certain code on a button click(submit).
my form has a text box and a submit button. Onclicking it, it has to execute a SQL query and then forward the control to another jsp page.
Where to write the query??
Thanks in advance.
the easiest solution is to just use scriptlets on the page the form is forwarded to. If you want to use jsp correctly, you should not use scriptlets but instead move this code to java classes.
Thanks sillyboy !!
i'm to make a vacations script calculator
<input class="emri" type="text" placeholder="Name">
<input class="mbiemri" type="text" placeholder="Last Name">
<input class="Vendosni-Datelindjen" type="text" placeholder="Birthday">
<option selected="selected" value="Select ...
On my page https://fiftyallstars.com/50/curriculum.html , I have some basketball drills loading from a google spreadsheet of mine. Only thing is after it loads, I can't seem to get the datepicker ...
I am not that much of an expert in PHP as it has been few months since I started playing with it. Currently I am working on creating a basic ...