we store the information in the hidden field and get it from another servlet. This approach is better if we have to submit form in all the pages and we don't want to depend on the browser.
Advantage of Hidden Form Field:
<input type="hidden" name="uname" value="Bharath">
Advantage of Hidden Form Field:
- It will always work whether cookie is disabled or not.
- It is maintained at server side.
- Extra form submission is required on each pages.
- Only textual information can be used.
No comments:
Post a Comment