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 Jquery Not found with struts2 grid Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Jquery Not found with struts2 grid" Watch "Jquery Not found with struts2 grid" New topic
Author

Jquery Not found with struts2 grid

Kartik Jajal
Greenhorn

Joined: May 04, 2013
Posts: 3
Hello All,

I am very new to the struts2, i tried to build a grid with struts2. The problem is that when page is loaded its not able to find jquery related files, it says that "Uncaught ReferenceError: jQuery is not defined".
Kindly help me out.

Thanks.
Lalit Mehra
Ranch Hand

Joined: Jun 08, 2010
Posts: 384

Hi Kartik,

welcome to the ranch.

Are you sure you have included the taglib directory in your jsp page ?

for this might be one of the reasons of your getting this error.


http://plainoldjavaobject.blogspot.in
Kartik Jajal
Greenhorn

Joined: May 04, 2013
Posts: 3
yeah.. i forget to include <s:head> tag in my jsp. now its working fine.
Kartik Jajal
Greenhorn

Joined: May 04, 2013
Posts: 3
Thanks for the reply
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jquery Not found with struts2 grid