jquery + struts2 + form validation

2011-03-04 Thread Emi Lu
Good morning, A question about struts2 + jquery form validation: in jsp: = ... ... lots of tags If check_action returns false, action1 will never be called! JAVA action private InputStream inputStream; check_action() { check tag1 against DB; //whether d

Re: jquery + struts2 + form validation

2011-03-04 Thread Dave Newton
On Fri, Mar 4, 2011 at 10:44 AM, Emi Lu wrote: > check_action() > { >      PrintWriter out          = res.getWriter(); >      res.setContentType("text/html"); >      if(error) >      { >         out.println("Error info"); Ew. > The part gives me headache is that how to submit hundreds of tags in