I want to put some JavaScript files in one of my packages and make Struts serve them like /struts/js/foo.js
Struts does that for files in 'template' package (that's where jQuery plugin's files are located, guarded by struts.ui.templateDir
option). However I want to put those files into another package; If I redefine struts.ui.templateDir
then struts ceases working because it can't find its templates.
So the question is: How to tell Struts to serve files in org.foo.some.package.js
as /struts/js/whatever.js
?