File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "web.xml" Watch "web.xml" New topic
Author

web.xml

mohamed mustaq
Greenhorn

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é
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

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: http://aspose.com/file-tools
 
subject: web.xml
 
Similar Threads
multiple servlets
multiple servlets
Diiference between <welcome-file-list> tag and <load-on-startup> tag in web.xml file of servlet
JSP & Servlet Version
captcha, using simple servlet and struts mapping