wood burning stoves 2.0*
The moose likes Servlets and the fly likes Deployment Descriptor problem 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 » Java » Servlets
Bookmark "Deployment Descriptor problem" Watch "Deployment Descriptor problem" New topic
Author

Deployment Descriptor problem

Rajul Jain
Greenhorn

Joined: Feb 16, 2008
Posts: 4
hi friends...i have a little doubt.....i created one file form.html and tried to open it through tomcat server....it opened fine...but when i copied my deployment descriptor file in WEB-INF folder....and then opened my form.html.....it displays file not found error.....i am trying to map my servlet with local name in the xml descriptor....the descriptor has nothing to do with form.html.....can you please guide me through the error...thank you..
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
when i copied my deployment descriptor file in WEB-INF folder....and then opened my form.html.....it displays file not found


As you surmised, this indicates that the server is not recognizing the existance of your web application. There are plenty of things that can cause this, from incorrect names of directories to XML errors in the deployment descriptor.

What is the directory structure for this new application?

How did you install Tomcat - as a service or as a regular application?

How are you starting Tomcat?

Are there any error messages in the log files

Bill
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60783
    
  65

Please be sure to use UBB code tags when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along. Please read this for more information.

You can go back and change your post to add code tags by clicking the .


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Deployment Descriptor problem
 
Similar Threads
How to do Deployment ?
Issues creating a project from cvs
jsp compile error
Deployment Descriptor problem
TOMCAT Gremlin!