Click to See Complete Forum and Search --> : repopulating the text field in java servlet


patsoni
05-23-2009, 04:40 AM
hi,i m creating a form in html ,and using java servlet to validate.
whenever i submit the button,if error occurs then the previous page should open and all the fields that are correct should be as it is and the error field should be blank and it should enter the correct value....

plz aneone knows plz tell me fast how to do in java servlet .....plz plz plz :)

chazzy
05-25-2009, 10:30 AM
well, if the form's in just plain HTML you can't. if the form were JSP or servlet based, you could just rerender it w/ the last values.