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
What is pure servlet?
What is the difference between the http servlet and generic servlet?
How to upload a file to the server using servlet?
Why servlet is mostly used?
What is difference between GenericServlet and HttpServlet?
Which is better jsp or servlet?
How does Cookies work in Servlets?
How can we refresh automatically when new data has entered the database?
How do you invoke a Servlet? What is the difference between doPost method and doGet method?
What is a generic servlet?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
Explain the difference between generic servlet and http servlet?
When Servlet is unloaded?
What is the disadvantage of cookies?
Define servlet mapping?