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

Whats the advantages using servlets over using CGI?

581


What do you mean by request dispatcher in servlet? Also explain its methods.

607


Why HttpServlet class is declared abstract?

643


What is http servlet in java?

556


What are the steps that are involved in using the httpservlet class?

567






What is the purpose of dispatcherservlet properties?

506


A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

601


What are the key methods that are involved in processing of http servlets?

618


Can a jsp be called using a servlet?

578


How to create war file?

607


What are important features of Servlet 3?

587


Write all the phases defined in servlet life cycle?

579


What is the use of httpservletresponsewrapper?

526


What is the dispatcher servlet?

509


What is http servlet? Explain with the help of an example.

576