I'm programming a car-hire web-site as my university project. There are some restrictions like * no JavaScript*, i can only use .jsp and servlets.
I've got few forms, i.e. booking form for customers, form to edit vehicles fleet for manager, etc. Lets say that data entered in the form needs to be validated and saved to a database. So i was thinking of checking weather the data is valid with the help of a servlet.If some field/fields were filled incorrectly i want (with the help of my servlet) to reload the page with form and to ask to re-enter data.
Question. How do I reload a page with a form on it with a help of servlet suggesting that some changes to this page should be made (highlighting of problematic fields, label stating that smth went wrong, etc.)?
Thanks for considering my question.