File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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: 61417
    
  67

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to run web application(java) on tomcar server