• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unable to run web application(java) on tomcar server

 
Ranch Hand
Posts: 634
Eclipse IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does the Tomcat (not tomcar) Manager show that the app is even running?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic