Re: Input validation in Struts 2 and extrating the errors in jsp

2009-06-20 Thread Thomas Rene Vervik
Perfect, thanks both, it solve the issue :) Thomas Rene Vervik wrote: > > I manage to do input validation when I have one of the default themes > selected (xhtml, css_xhtml, etc). But what if I dont want to use > Freemarker, I want to build the whole HTML in my Jsp, how do I "extract" > the er

Re: Input validation in Struts 2 and extrating the errors in jsp

2009-06-19 Thread Dave Newton
Thomas Rene Vervik wrote: I manage to do input validation when I have one of the default themes selected (xhtml, css_xhtml, etc). But what if I dont want to use Freemarker, I want to build the whole HTML in my Jsp, how do I "extract" the error messages the validation framework generate. Call ge

Re: Input validation in Struts 2 and extrating the errors in jsp

2009-06-19 Thread Yanto
you need to use tags s:fielderror and s:actionerror to display error if you use simple theme Regards Yanto On Sat, Jun 20, 2009 at 9:06 AM, Thomas Rene Vervik wrote: > > I manage to do input validation when I have one of the default themes > selected (xhtml, css_xhtml, etc). But what if I d