Aug 3rd, 2011, 03:23 PM
Spring mvc resources problems - css images js
No js, or css were found. Even with the <mvc:resources> its still didnt work. Eventually we had to put the lot inside the WEB-INF/classes directory and add
<mvc:resources mapping="/resources/**" location="classpath:resources"/>
this seems to work except now we have discovered that images are not geting found in there either - for example inside web-inf/classes/resources/js we have a jquery/jqueryui installation. and its not displaying images on any of its widgets because they are not resolving properly.
I have read many posts on the <mvc:resources subject, but none seem to work. We are mapping /* to the spring dispatcher servlet
hoping someone can help
Oct 25th, 2011, 04:01 PM
Did you ever get a resolution? Fairly new to Spring and having the same issue.
Oct 26th, 2011, 07:16 AM
no but I did an apparent fix that I asked for help on, see thread here:
let me know if you manage to solve it
Oct 26th, 2011, 03:45 PM
Weblogic needs explicit configuration of the mime-type for certain extensions.
Adding the following to web.xml resolved the issue for me. check the thread below
Tags for this Thread