Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
spring-samples, petclinic, tc Server 2.5, no styles or images [SPR-8422] #13059
Unlike the mvc-showcase sample app, the petclinic sample app, from https://src.springsource.org/svn/spring-samples/petclinic/trunk (tip of trunk as of 6/8/2011), renders without styles and images, on "VMware vFabric tc Server Developer Edition v2.5" and "Jetty v7.2 Server".
This version of tc Server is the one installed by default with STS version 2.6.1.RELEASE.
The following attempted workaround, based on how mvc-showcase handles resources, failed too:
A SUCCESSFUL WORKAROUND was to deploy to Tomcat 6.0.26.
Affects: 3.0 GA
1 votes, 4 watchers
Mathias Lin commented
Still no resolution for this since the past 1,5 years? Any workaround, or is nobody running this way of app structure on Tomcat7 yet? Or is it a Tomcat7 issue, rather than an app/config problem?
Edit: I put up a fork on github that works on Tomcat7, working well with Spring 3.1.2 and using the mvc:resource tag to map the static resources folder, such as images and styles.