a jquery plugin (not THE struts2-jquery plugin) not being loaded with struts2 mvc framework
posted 6 years ago
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.
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).