File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Product and Other Certifications and the fly likes What should be the Correct order in web.xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "What should be the Correct order in web.xml file" Watch "What should be the Correct order in web.xml file" New topic
Author

What should be the Correct order in web.xml file

vijay saraf
Ranch Hand

Joined: Jan 08, 2005
Posts: 141
Hello All,

I want to know the correct order of elements in web.xml.
Can any one give give me idea or link for that.

Thanks,
Vijay Saraf.


Thanks
Vijay Saraf.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42611
    
  65
The ultimate reference would be the servlet specification, which is linked here.


Ping & DNS - my free Android networking tools app
vijay saraf
Ranch Hand

Joined: Jan 08, 2005
Posts: 141
Can u give me more specific link for that

Thanks,
Vijay Saraf.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42611
    
  65
I'm not sure what you're asking for. The document you need is about 3 clicks away from the page I mentioned.
vijay saraf
Ranch Hand

Joined: Jan 08, 2005
Posts: 141
no problem.........
i will search........
thanks any way.......
Anurag Mishra
Ranch Hand

Joined: Jun 16, 2003
Posts: 121
Hi Vijay,

I am not sure which specification you are fllowing the Order of Web.xml can be get from the DTD mentioned in the web.xml(any sample .war of your server).

One is this which you can check.

http://java.sun.com/dtd/web-app_2_3.dtd

In case you don't know how to interpet a dtd document please visit this link.
www.w3schools.com

thanks
Anurag


SCJP 1.2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What should be the Correct order in web.xml file