can it possible to validate form field before execution of a
servlet service method if yes how??

Answer Posted / sekhar babu

Yes,
If it client side validation do with the javascript
if it is serverside validation we can use Filters and do
the validations there example login authenticated or not

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain their methods? Tell me their parameter names also have you used threads in servlet?

781


What are the different methods involved in generic servlet?

795


Why is a constructor needed in a servlet even if we use the init method?

794


What are the various ways of session supervision in servlets?

729


how many jsp scripting elements are there and what are those?

774


What is the purpose of inter-servlet communication?

785


Tell us something about servletconfig interface.

756


Explain url encoding?

730


Which java framework is most popular?

760


What do you mean by httpservlet and how it is different from the genericservlet?

732


Why doesn’t a servlet include main()?

764


What are its drawbacks of cgi?

766


How forward () method is different from send redirect () method?

701


What is a servlet-to-servlet communcation?

848


How the typical servlet code look like ?

854