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

tags in web.xml

Abdul Kader
Ranch Hand

Joined: Apr 11, 2007
Posts: 115

I Like to know what is the use of following tag in the wb.xml. Yes i understand it will say our project name, is there any thing more here. I also like to know is there any link which will info about all the tags in web.xml.

<display-name>SSP Global</display-name>
<description>SSP Global Application.</description>

Thanks for your help.
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
I think its for making the configuration more verbose.Apart for this , this might be helpful for making a tool with which you can generate web.xml.

Rahul Bhattacharjee
LinkedIn - Blog
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

In Tomcat, for instance, when you look at the list of deployed applications with the Manager tool, the name and description set in your deployment descriptor (web.xml) are displayed.

The servlet spec has a list of all the tags, along with a chart and an example deployment descriptor. There is a link to the servlet spec in my signature.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: tags in web.xml
It's not a secret anymore!