This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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 Java Interview Guide this week in the Jobs Discussion 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
jQuery in Action, 3rd edition