help me ...help me ....
i made a form into jsp this form is submited to a servlet. if the user name is more than six char than then form is submited else the request is redirect to the same jsp page with message "useer name must be more than six char".
Now the problem is when when request is redirect to jsp page my form is clear but i don't want to clear my form how can i do it.
and i also want to disable the Back button of browser
# 1
> Now the problem is when when request is redirect to
> jsp page my form is clear but i don't want to clear
> my form how can i do it.
you should be storing the form information in the request or session scope (preferrably using a bean) and your jsp page has to set the values of the form fields with the information it has stored.
> and i also want to disable the Back button of browser
no you don't, your users would hate that, but you can't anyway so no use arguing.