Hi I have a problem using struts-menu with multiple applications in the same server: the resource path is the same for all the applications. Let me explain it.
I have deployed the struts-menu.war example application without problems. Then I configured everything (struts-config.xml, menu-config.xml) in other application (the one I'm working on), but I couldn't load templates that were in other directory different from /WEB-INF/classes. I got the following error: Error initializing Velocity: org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource '/WEB-INF/tpl/menu.tpl.html' When I added a velocity.properties file, with a new value for the property webapp.resource.loader.path, the other application (struts-menu.war) didn't worked and I had the same error. I removed the velocity.proporties file and I tryed to use the same templates that were used in the example application, with the same value for the config attribute (ie. /templates/tables.html). And It worked!. I did the same thing for other templates with the succesfull results. First of all, I think it's a security problem because I can load resources from other context. Then, it could be possible to use struts-menu with multiple aplications and sotre the templates in other directories different form /WEB-INF/classes. Now I don't have time to try to fix it myself, but I hope that someone could do it. Last, but not least, thank you and congratulations for struts-menu. It's a very useful plugin. Juan Manuel Caicedo ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op=click _______________________________________________ struts-menu-devel mailing list struts-menu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/struts-menu-devel