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


Please Help Members By Posting Answers For Below Questions

What is the difference between a generic servlet and http servlet?

528


What are the types of servlets? Explain

682


Which is the methods of generated servlet?

690


Explain the custom jsp tags and the beans.

625


What is a cookie What is the difference between session and cookie

607






How can we perform any action at the time of deploying the project?

631


How native code can be used in a servlet?

3528


Given the request path below, which are context path, servlet path and path info?

551


What is the advantage of Servlets when compared with other server side technologies?

1868


What is the difference between the servlets and cgi programs?

561


How do I know if java is running on linux?

609


What is session?

651


What is the use of servlet context?

541


Explain the difference between jsp and servlet?

596


When jsessionid is created?

611