learn java
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 The Software Craftsman this week in the Agile 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="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

<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: 42954
The Servlet specification is the ultimate reference for this. See http://faq.javaranch.com/java/SpecificationUrls for where to find it.

Most of those are also described in an easier-to-deal-with form at http://e-docs.bea.com/wls/docs61/webapp/web_xml.html

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: 62312

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] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: xml