You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Sreekanth S. Nair" <sr...@egovernments.org> on 2013/08/12 10:00:57 UTC

Struts Javascript error

Hi,
 Getting the following error in javascript console, happening with latest
struts2 distribution


   1. Uncaught ReferenceError: StrutsUtils is not defined
validation.js:161<http://localhost:8080/tradelicense/struts/css_xhtml/validation.js>
   <http://localhost:8080/tradelicense/struts/css_xhtml/validation.js>


Due to this or not, non of the action error messages are getting displayed.
-- 
Thanks & Regards
Srikanth

Re: Struts Javascript error

Posted by "Sreekanth S. Nair" <sr...@egovernments.org>.
Javscript error got resolved by adding <s:head> between html <head> tag.
but still i'm unable to see the field error message which i have added
using addFieldError() method.

Sreekanth S. Nair <sr...@egovernments.org> wrote:

> Hi,
>  Getting the following error in javascript console, happening with latest
> struts2 distribution
>
>
>    1. Uncaught ReferenceError: StrutsUtils is not defined
>    validation.js:161<http://localhost:8080/tradelicense/struts/css_xhtml/validation.js>
>     <http://localhost:8080/tradelicense/struts/css_xhtml/validation.js>
>
>
> Due to this or not, non of the action error messages are getting
> displayed.
> --
> Thanks & Regards
> Srikanth
>