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

Can filter be used as request or response?

540


What are common tasks performed by Servlet Container?

763


Who is responsible to create the object of servlet?

714


Why do you use session tracking in httpservlet?

631


What are the functions of Servlet container?

607






Explain mvc pattern.

587


What is the procedure of invoking different servlet in a different application?

553


What do you mean by web applications? Explain web application directory arrangement?

534


What is the need of servlet filters?

536


What is meant by servlet? What are the parameters of the service method?

564


What is difference between jsp and servlet?

638


What is cookie in servlet?

591


How the servlet is loaded?

595


How do you load an image in a Servlet?

653


Write a simple servlet program to print the contents of html.

539