-
Jul 7th, 2009, 07:22 PM
#1
First Flow -> Not working
hi
I am using this tutorial https://src.springframework.org/svn/...FirstFlow.html
I am using Spring Tool Suite 2.1.0.RC1
I created new project using
Step1: Open STS and access File -> New -> Other... -> SpringSource Tool Suite -> Template Project. Select "Web Flow Project"
Step2: Named it expense
Step3: Accesed using http://localhost:8080/expesne ( works fine )
Then did these two steps:
Step4:Create a new directory for your flow inside /src/main/webapp/WEB-INF; name the directory expense. Right-click on the directory and access New -> Spring Web Flow Definition. Enter the filename expense-flow.xml and finish. The flow definition will be generated for you with an initial view-state named start.
Step5:Go ahead and create a start.jsp in your flow directory and paste in the following:
<html>
<head>
<title>Hello world!</title>
</head>
<h1>Hello world!</h1>
</html>
Question:
It says when i restart my server I should start seeing "Hello world" page.
However I get the Congratulations Spring page..
I tried these urls:
http://localhost:8080/expesne
http://localhost:8080/getting-starte...ow/app/expense
Can some one please explain to me how to fix it..
( If possible a link which says how the old file gets replaced by new one ..)
Thanks
Zing Zhao
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules