File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jquery Not found with struts2 grid

 
Kartik Jajal
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 384
Eclipse IDE Firefox Browser Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Kartik Jajal
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah.. i forget to include <s:head> tag in my jsp. now its working fine.
 
Kartik Jajal
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic