can it possible to validate form field before execution of a
servlet service method if yes how??
Answer Posted / suresh
We can do it, There are two validation is available
1. Form validation
2. Server side validation
1. Form Validation - This validation is perform client side,
java script used to achieve these form validation
2. Server side Validation - This type we can use predefined
server side validation method used to achieve these validate.
Note:- In perform wise we compare Form validation is better
than server side validation. it's easy to progress.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Write a command to get actual path of a servlet to the server?
What is the difference between get and post methods?
How a servlet is unloaded?
how the HTML data stored in web server?
What’s the difference between forward() and sendredirect() methods?
What is the difference between servlet and jsp?
What is load-on-startup in servlet?
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
Can filter be used as request or response?
How does Cookies work in Servlets?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
What is MIME Type?
How do you find out what client machine is making a request to your servlet
What are sessions in servlets?
What is the need of servlet filters?