A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
xml
Iris Gutierrez
Greenhorn
Joined: Sep 02, 2008
Posts: 5
posted
Oct 21, 2008 10:09:00
0
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>
<description>
This Web Application demonstrates a single View
servlet
.
</description>
<servlet>
<servlet-name>ListLeagues</servlet-name>
<servlet-class>java.sl314.view.ListLeaguesServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ListLeagues</servlet-name>
<url-pattern>/list_leagues.view</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app>
and if there are more tags to configure the file you find in the WEB-INF folwder. I am just a beginner.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35241
7
posted
Oct 21, 2008 10:53:00
0
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.
Android apps
–
ImageJ plugins
–
Java web charts
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
13
I like...
posted
Oct 21, 2008 11:25:00
0
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
.
[
Smart Questions
] [
JSP FAQ
] [
Books by Bear
] [
Bear's FrontMan
] [
About Bear
]
I agree. Here's the link:
http://aspose.com/file-tools
subject: xml
Similar Threads
Tomcat Set
web.xml change not working
jstl problem in Spring MVC
Websphere has a BIG BUG!!!
404 -file not found
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter