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 the purpose of dispatcherservlet properties?
When should you prefer to use doget() over dopost()?
Is it good idea to create servlet constructor?
What are life cycle methods of a servlet?
What do you mean by default initialization in java servlet?
What is the disadvantage of cookies?
Why doesn’t a servlet include main()?
Why is httpservlet declared abstract?
What is servlet invoker?
Why do we have servlet wrapper classes?
Explain request dispatcher and its methods.
What is the
What is the life-cycle of servlets?
Why session tracking is needed?
Can servlet have a constructor ?