This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Having problem running tomcat application (WAR) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Having problem running tomcat application (WAR)" Watch "Having problem running tomcat application (WAR)" New topic

Having problem running tomcat application (WAR)

Ish Fad

Joined: Aug 09, 2011
Posts: 4

I have installed tomcat 7 on laptop. I have tested tomcat and it is running fine.
I have created simple war file with just one html page.
I have added this war file to webapps folder of the tomcat.
When I try to open this page from the browser, I am getting following error

message /if2.html

description The requested resource (/if2.html) is not available.

Please could you help me.

Many thanks
Chris Beckey
Ranch Hand

Joined: Jun 09, 2006
Posts: 116

You may be missing the application context from the url, for example instead of
where "application-name" is replaced wit the name of your application (try the WAR file name if you don't know the application name).

If that isn't int, post the complete URL you are trying and the name of the application and the location of the html page within the WAR.
I agree. Here's the link:
subject: Having problem running tomcat application (WAR)
Similar Threads
Facing problem while accessing tomcat on a dedicated hosting Linux server
InterActing InternalFrames in SWING - MDI Application
integrating servlet application into a website
Help deploying app-duke bookstore .WAR file
Viewing files without tomcat