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
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()?
What is servlet? Explain
Why HttpServlet class is declared abstract?
What are the supporting protocol by HttpServlet ?
What are the steps that are required to handle the multi-threading?
Define the servlet mapping.
How do you invoke a Servlet? What is the difference between doPost method and doGet method?
What are the differences between servlet context vs servlet config?
Is it possible to have a constructor inside the servlet?
What do you mean by the servlet chaining?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
What is the use of servletconfig interface?
What are important features of Servlet 3?
What is meant by Servlet? What are the parameters of service method?
What is the GenericServlet class?