• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to run web application(java) on tomcar server

 
Mohit G Gupta
Ranch Hand
Posts: 634
Chrome Eclipse IDE 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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the Tomcat (not tomcar) Manager show that the app is even running?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic