*
The moose likes Spring and the fly likes Sample Petclinic does not display static content Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Sample Petclinic does not display static content" Watch "Sample Petclinic does not display static content" New topic
Author

Sample Petclinic does not display static content

Sergio Hirata
Greenhorn

Joined: May 14, 2012
Posts: 2
Hi all.

I tried running a sample to check out how Spring works, but no luck.
I downloaded petclinic app from Spring svn, and built it with maven.My server is Tomcat 7.
Everything is out of the box, I have not changed anything from their code.

web.xml:


petclinic-servlet.xml:


The spring part of the app runs , but the welcome page does not have the images or the css, and when I click on tutorial I get this error :
type Status report

message /petclinic/static/html/tutorial.html

description The requested resource (/petclinic/static/html/tutorial.html) is not available.


I tried disabling the comment this part on web.xml but it did not fix anything


does anyone know what the problem is?

Thanks in advance
 
jQuery in Action, 2nd edition
 
subject: Sample Petclinic does not display static content
 
Similar Threads
Spring MVC - Url Handling Problem
Missing CharacterEncodingFilter, UrlRewriteFilter?
Bridge between REST & WS
Beginner Spring with Hibernate integrated. Is this code correct?
struts-spring-hibernate integration