Sergio Hirata

+ Follow
since May 14, 2012
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sergio Hirata

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.



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
12 years ago
Hi all.

I am very new to Spring, so I thought I would do a simple page to learn it a bit.I got it to work, but then I changed it to include Apache Tiles 2 and have run into a problem, where my form view can not be found.

Here is my web.xml:

My springapp-servlet.xml :

And my tiles.xml:

all my jsp are under webContent/pages .
The first page loads correctly , but as soon as I try hanoiEntry.htm I get this error :
javax.servlet.ServletException: Could not resolve view with name 'hanoiPage.jsp' in servlet with name 'springapp'

I have tried several combinations for <property name="formView" value="pages/hanoiPage.jsp"/>, from /springapp/pages/hanoipage.jsp down to hanoiPage.jsp

Thanks in advance.
12 years ago