public class FormValidationServlet
extends javax.servlet.http.HttpServlet
Validator
from spring context and return a JSON pojo for validation
results. It is called by Javascript in order validate form with AJAX before submitting the form.Constructor and Description |
---|
FormValidationServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
Copyright © 2012-2015. All Rights Reserved.