• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

a jquery plugin (not THE struts2-jquery plugin) not being loaded with struts2 mvc framework

 
David Brave
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Im having a problem with my jquery plugin.
This is not in regards to the struts2-jquery plugin,
but the actual jquery library and a plugin for that library.

The plugin is a photogallery plugin. Im loading this through a jsp page in my struts2 MVC project.
Struts2 loads the jquery library just fine, but ignores the plugin when the page is loaded through the struts2 mvc.
When I just load the page without struts, through tomcat, the jquery photogallery plugin works perfectly.

Here is the plugin
http://eisabainyo.net/demo/jquery.gallery.php

Here is my jsp page



Both .js files are in the same folder as the jsp page. I put the alert("test"); in to make sure that jquery was being loaded, and I get the alert if the page is loaded through the struts2
framework or if i load the jsp without struts with just tomcat (in that case the alert works, and the plugin works too).

Im totally baffled by this. Any help?

David
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic