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


Iris Gutierrez

Joined: Sep 02, 2008
Posts: 5
What I refer to is the xml you have to configure when you program a web just with java, I would like to know the exact meaning of tags such as

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="" xmlns:xsi="" xsi:schemaLocation="">

<display-name>SL-314 WebApp Example</display-name>
This Web Application demonstrates a single View servlet.





and if there are more tags to configure the file you find in the WEB-INF folwder. I am just a beginner.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
The Servlet specification is the ultimate reference for this. See for where to find it.

Most of those are also described in an easier-to-deal-with form at

I'll move this to the servlet forum, where any discussion of this is more appropriate.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

Please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

Using a title of "xml" isn't very descriptive.

Please go back and change your post to add a more meaningful subject by clicking the .

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: xml
It's not a secret anymore!