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 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
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
 
Similar Threads
In Need of Urgent help Struts + jquery
Fieldset is not working
Fieldset is not working
CSS Not Rendering on JSP that is passed to from Servlet
scroll bar down