I have a very simple project Parking Space Booking System made in PHP. I have to change it to Java. I've passed HTML5 form values (number of space, start date, end date, name, phone) according to this tutorial: https://netbeans.org/kb/docs/web/quickstart-webapps.html
I printed them in response.js file<jsp: getProperty name="mybean" property="x" />
where x is name/number/start/end/phone -> for each separate line and those values are properly send from HTML5 and displayed. My question is now if I want to make logic operations should I use tag <% %>
and put ther Java code like in PHP and <? ?>
tag? Will I be able use then JDBC within <% %>
and connect / send data / user queries to MySQL server?