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, serviceprotected void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 2013. All rights reserved.