This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Unable to run web application(java) on tomcar server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Unable to run web application(java) on tomcar server" Watch "Unable to run web application(java) on tomcar server" New topic
Author

Unable to run web application(java) on tomcar server

Mohit G Gupta
Ranch Hand

Joined: May 18, 2010
Posts: 634

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


OCPJP 6.0 93%
OCPJWCD 5.0 98%
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60765
    
  65

Does the Tomcat (not tomcar) Manager show that the app is even running?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Unable to run web application(java) on tomcar server
 
Similar Threads
RequestDispatcher null - cant find /j_spring_security_check
Head First Testing Init Paramters
error for first web application : The requested resource (/Beer-v1/SelectBeer.do) is not available.
servlet deployment issue on websphere server.
Resource not available