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.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "web.xml" Watch "web.xml" New topic


mohamed mustaq

Joined: Dec 19, 2005
Posts: 21
i am having 2 servlets in a project in which one is a controller which forwards the request to other , now i am trying to map 2 sevlets in a web.xml file, by using separate servlet tag and coressponding servlet mapping but i get a error in web.xml file such that no coresponding </web app> closing tag.

can anyone suggest me the solution .. thanks in advance..
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

Does your web.xml starts with <web-app> and ends with </web-app> ?
Check this first (and be careful of the way you write it)

[My Blog]
All roads lead to JavaRanch
I agree. Here's the link:
subject: web.xml