| Author |
Not able to display starting jsp page index.jsp
|
prasad regula
Greenhorn
Joined: Jul 03, 2006
Posts: 24
|
|
I have developed a new project. The folder structure of the project is
D:\Prasad\spring_workspace\Addressbook_threePatterns>
----src
----test
----build
----lib
----war
--------WEB-INF
--------jsp
--------lib
--------web.xml
--------index.jsp
----build.xml
I am getting the following ERROR
type Status report
message /addrbook_v3/
description The requested resource (/addrbook_v3/) is not available.
|
PRSubject
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
What does addrbook_v3 have to do with index.jsp?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
prasad regula
Greenhorn
Joined: Jul 03, 2006
Posts: 24
|
|
|
That is the name I have given in the build.xml to generate a war file with that name
|
 |
prasad regula
Greenhorn
Joined: Jul 03, 2006
Posts: 24
|
|
What should I do to display that page, because without displaying the first page I cannot move ahead with my project.. Here below is my build.xml
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
The build.xml is not useful.
Rather, how about showing web.xml?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
description The requested resource (/addrbook_v3/) is not available.
Have you verified that Tomcat is even starting the web app?
|
 |
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
|
posted

0
|
|
By the way, ant -p will show a list of build targets that have description attributes (the "public" tasks).
|
 |
prasad regula
Greenhorn
Joined: Jul 03, 2006
Posts: 24
|
|
Here below is my web.xml. It is located in WEB-INF folder. I could see the tomcat hompage at http://localhost:8080
----WEB-INF
--------web.xml
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
|
Use the Tomcat Manager Application to verify that the web app has started properly.
|
 |
prasad regula
Greenhorn
Joined: Jul 03, 2006
Posts: 24
|
|
This is what I got with ant -p
|
 |
prasad regula
Greenhorn
Joined: Jul 03, 2006
Posts: 24
|
|
This is what I am seeing at tomcat Manager
/addrbook_v3 true 0 Start Stop Reload Undeploy
Expiry Session with idle ≥ 30 minutes
|
 |
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
|
posted

0
|
|
Yeah. I was telling you because you have a "usage" target you have to maintain by hand, and there's no reason to.
|
 |
prasad regula
Greenhorn
Joined: Jul 03, 2006
Posts: 24
|
|
|
I got it. I forgot giving the jsp page name in <welcome file list> element
|
 |
 |
|
|
subject: Not able to display starting jsp page index.jsp
|
|
|