• 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:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Unable to run web application(java) on tomcar server

 
Ranch Hand
Posts: 634
Eclipse IDE Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have made a small web application with

form.html in the WebContent/WEB-INF/Form.html location
There are serlvletOne.java Servlet.java, Icecream.java in the src folder of my project named "ApplicationOne"



on running project on run as server ,i get

address in address bar:
http://localhost:8080/ApplicationOne/

HTTP Status 404 - /ApplicationOne/

--------------------------------------------------------------------------------

type Status report

message /ApplicationOne/

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


--------------------------------------------------------------------------------

Apache Tomcat/5.5.31

on runnning form.html as run as server,i get

address in address bar:
http://localhost:8080/ApplicationOne/WEB-INF/Form.html


HTTP Status 404 -

--------------------------------------------------------------------------------

type Status report

message

description The requested resource () is not available.


--------------------------------------------------------------------------------

Apache Tomcat/5.5.31
 
Sheriff
Posts: 67266
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the Tomcat (not tomcar) Manager show that the app is even running?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!