This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line!
See this thread for details.
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • 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:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Not able to display starting jsp page index.jsp  RSS feed

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


 
Author and ninkuma
Marshal
Posts: 66801
168
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does addrbook_v3 have to do with index.jsp?
 
prasad regula
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is the name I have given in the build.xml to generate a war file with that name
 
prasad regula
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 66801
168
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The build.xml is not useful.

Rather, how about showing web.xml?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66801
168
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

description The requested resource (/addrbook_v3/) is not available.


Have you verified that Tomcat is even starting the web app?
 
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way, ant -p will show a list of build targets that have description attributes (the "public" tasks).
 
prasad regula
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 66801
168
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the Tomcat Manager Application to verify that the web app has started properly.
 
prasad regula
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is what I got with ant -p

 
prasad regula
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it. I forgot giving the jsp page name in <welcome file list> element
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!