File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes strutsutils is not defined Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "strutsutils is not defined" Watch "strutsutils is not defined" New topic
Author

strutsutils is not defined

Ramkumar Subburaj
Ranch Hand

Joined: Sep 07, 2007
Posts: 83
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


SCJP 1.5, SCWCD 1.4.
Hanging between Web Services and EJB
Ramkumar Subburaj
Ranch Hand

Joined: Sep 07, 2007
Posts: 83
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?

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: strutsutils is not defined