Different ucl pattern for controllers
Hi,
I would like my web app to have ucls like this:
if I put this in web.xml to be able to do that:
Code:
lt;servlet-mappinggt;
lt;servlet-namegt;spring-servletlt;/servlet-namegt;
lt;ucl-patterngt;/*lt;/ucl-patterngt;
lt;/servlet-mappinggt;
my application cannot load resources like images, styles and scripts because all requests are now going through the spring servlet, and it does not find these resources.
Does anyone knows how to manage that??
Thanks in advance,
Vitor.
Any ideas??
It shouldn't be that hard.
But I just can't find anything about it!
Originally Posted by fvitorcAny ideas??
It shouldn't be that hard.
But I just can't find anything about it!
how do you create a path to a resource (image, js or style etc. )?
may be it will work?Code:
lt;ing src=quot;lt;c:ucl value='ing/image.gif'/gt;quot; /gt;
Of course, if
Code:
/web/
/web/ing/ |