File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes web.xmi in servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "web.xmi in servlets" Watch "web.xmi in servlets" New topic

web.xmi in servlets

Sachin Ramesh Vir

Joined: Sep 15, 2005
Posts: 23
I am new to servlets. Whether it is always the web.xml is required to run the servlets. Is there any other way we can run the servlets without the web.xml. What is the importance of using web.xml file in servlet?
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

This is a pretty well beaten subject here:
Use the search command with keywords:
web.xml required
and you should find some good threads on the subject.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Nicky Eng
Ranch Hand

Joined: Mar 26, 2005
Posts: 378
web.xml is the Deployment Descriptor. it tells Container to perform tasks, sort of.

From NickyEng
Diploma in Computer Studies
SCJP 1.4
Formula 1 app by Maxis (Playbook)
I agree. Here's the link:
subject: web.xmi in servlets
It's not a secret anymore!