Originally posted by Soto Mayor:
...
In one version of the project, I made the validation on the server side, but in this case, if the validation does not succeed, I must reload the page from the database and I loose the changes made by the user on the modified row, which the client finds unacceptable.
This is based from what I understood..
Can't you use a JavaBean component that *maps* to your fields? if your validation fails in the serverside, you forward to a
JSP and it'll make use of the bean, without loosing any information.
this is an example.
So I think I have to make a client side validation using JavaScript.
Quick and simple solution. But, what happens if your client disables JavaScript? you are in trouble... you are not solving the problem, you're covering it ;-)
HTH