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

Answer Posted / geetha

yes, it is possible. write a javascript method to validate
input fields and call this method based on event of your
requirement.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

613


What is servlet? Explain

577


Why HttpServlet class is declared abstract?

643


What are the supporting protocol by HttpServlet ?

650


What are the steps that are required to handle the multi-threading?

591






Define the servlet mapping.

544


How do you invoke a Servlet? What is the difference between doPost method and doGet method?

639


What are the differences between servlet context vs servlet config?

575


Is it possible to have a constructor inside the servlet?

550


What do you mean by the servlet chaining?

544


what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?

568


What is the use of servletconfig interface?

550


What are important features of Servlet 3?

587


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

591


What is the GenericServlet class?

595