J2EE - Web.xml (Deployment descriptor of a Web Application)

Java Conceptuel Diagram


The web.xml file is the deployment descriptor file for a web application.

It's a J2EE standard XML document that configures the contents of a WAR file.

You can override any of the default servlet parameters at the Web application level by specifying corresponding

elements in the J2EE standard web.xml deployment descriptor.
Articles Related




Start Page

The start page for the application is defined with the welcome-file tag.



It's default value is:

  • name: index,
  • Extension: .html, .htm, or .jsp
Global Parameter (context-param)

Discover More
Java Conceptuel Diagram
J2EE - Web.xml - How do I define an environment variable that can be accessed in all servlets in a Web application ?

A J2EE application may require one or more initialization parameters to be accessed by one or more servlets in a web application. An initialization parameter be for a context or for a specific servlet....
J2ee Ear Structure
Java - Packaging, Archive, Library (JAR, WAR, EAR File)

For deployment purpose, J2EE applications are delivered and reside in Archive files (or unit). A RAR, WAR or EAR file is a standard JAR (.jar) file with a .war or .ear extension. Each archive extension...
Java Conceptuel Diagram
Java - Web Application (Web Module) - War

Web application in Java. A Java web application serve and/or generates interactive HTML web pages. An enterprise application may contain zero or more web applications. A web application is generally...
J2ee Multitier Architecture
Java EE - (J2EE|JEE) Platform

The J2EE platform offers: a multitiered distributed application model, the ability to reuse components, integrated Extensible Markup Language (XML)-based data interchange, a unified security...
Java Conceptuel Diagram
JavaServer Faces (JSF)

The request: means to maintain the state for the time of a request session: means to maintain the state for the time of a session (between page views) none: means that the bean will be created but...
Obi Edition
OBIEE 10G - How to change the ports with an installation on OC4J ?

How to changes the ports use by OBIEE 10g. A specific listener port can be specified in default-web-site.xml, or a range of ports can be set in the OPMN configuration file (opmn.xml). Go in the...
Card Puncher Data Processing
OC4J - Setting Up Virtual Hosts

Setup multiple host on several domains using a single IP address. (ie ) This is a very basic example, it does not take into account using shared applications or event the use of .war or .ear files....
Oc4j Global Configuration Xml
OC4J - Configuration Files

The OC4J server configuration XML files are located in the following directory: The server.xml file is the key OC4J server configuration file; it contains references to most of the files used by the OC4J...
Weblogic Index Static Website
Weblogic - Static Web Site Deployment

in Weblogic How to deploy a static website in Weblogic. create a WEB-INF directory at your web site root add a web.xml in this directory add also the weblogic.xml file that defines the context-root...

Share this page:
Follow us:
Task Runner