Just wrote, lost, just want
From Struts 1.1, support your front and back checks, let's get started. . .
1) Add in JSP html: html> to let Struts join the appropriate check JavaScript code
4) in the action in public ActionForward addTransferSearch (ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {// some code DynaActionForm transferForm = (DynaActionForm) form; // must cast ActionErrors errors = transferForm.validate (mapping, request); // Check this // rest code}
In this general sense of "front and back" checks, in other posts, there is also a parameter check for Business Delegate and EJB, this is not repeated.
- == Welcome everyone with the topic of this article and interested, I discuss issues == -