This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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: 42959
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: 63534

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!