Apr 11th, 2012, 09:19 AM
404 for static web assets
I'm trying to debug the petclinic application with the tc server. The application mostly works, but the static assets are returning 404, images, html and css.
I've looked in the tc server temp directory and can see that the assets are there at the web root. However, they are not available when I debug the application. For example, the pets.png logo shown on the welcome.jsp is 404.
The jsp page uses the spring:url. I am assuming I'm simply missing something basic. Thanks.
Apr 11th, 2012, 10:10 AM
Update - I've added the static directory that was listed in the web.xml as /static/* and have copied the images folder that was at the root. This works fine, but I'm not sure why it was not in samples repository this way?
I'm new to servlet mappings and so I'm wondering if I'm not doing properly? Thanks.