This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Struts and the fly likes a jquery plugin (not THE struts2-jquery plugin) not being loaded with struts2 mvc framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "a jquery plugin (not THE struts2-jquery plugin) not being loaded with struts2 mvc framework" Watch "a jquery plugin (not THE struts2-jquery plugin) not being loaded with struts2 mvc framework" New topic
Author

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

David Brave
Greenhorn

Joined: May 20, 2010
Posts: 24
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: a jquery plugin (not THE struts2-jquery plugin) not being loaded with struts2 mvc framework