Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Application not Available

Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Trying to develop my first JSP and deploy it in Tomcat. Doing the tutorial in "Heads First Servlets....."

I've got an HTML form, form.html in C:\xampp\tomcat\webapps\Beer-v1

As a deployment descriptor, I have a web.xml under C:\xampp\tomcat\webapps\Beer-v1\WEB-INF\web.xml

Yet when I stop and restart Tomcat and go to http://localhost:8080/Beer-v1/form.html

I get a "This application is not currently available" message. Why would this be?



Author and all-around good cowpoke
Posts: 13078
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first place to look is the log files.

Something as simple as a web.xml that is not correct XML will prevent Tomcat from recognizing the Beer-v1 directory as having an application. Starting with plain HTML is an excellent idea, once you get that displayed you can be sure that Tomcat recognizes your application.

This cake looks terrible, but it tastes great! Now take a bite out of this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic