• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

strutsutils is not defined

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using Struts 2.1.8 and using "css_xhtml" theme.

I am getting "StrutsUtils is not defined" in all the jsp pages because of which my validations are getting failed in IE.

I tried putting struts head tag like



But still I.m getting the error.

Can any one suggest how to solve this

Thanks

 
Ramkumar Subburaj
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got it working. It was a typo error.

But I am facing another error in IE.

I am getting the following error - An exception occurred: Error. Error message: Invalid argument.

I tried out to figured out the cause and found out the following

My generated javascript code is



I tried to mock up by putting the same code in a function and calling it in onclick event

the method "addError()" throws the exception and the reason is "field" variable.

if i change it to field[0] , it is working fine.

How to fix this error?

 
Why fit in when you were born to stand out? - Seuss. Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic