• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Sample Petclinic does not display static content

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
A teeny tiny vulgar attempt to get you to buy our stuff
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!