Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


File Location: <Tomcat-Installed-Folder>\webapps\ctmodelhouse\WEB-INF\web.xml

The Context element represents a web application, which is run within a particular virtual host. Each web application is based on a Web Application Archive (.WAR) file, or a corresponding directory containing the corresponding contents.

<display-name> element
Make sure that the highlighted value of the <display-name> element is as shown in the following snippet only at this particular code location:


<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"xmlns:xsi="http://www.w3.org/2001/XMLSc hema-instance"xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>ctmodelhouse</display-name>






Anchor
page13
page13
<welcome-file-list> element
Make sure that the highlighted value of the <welcome-file> element is as shown in the following snippet
only at this particular code location:
Image Modified

<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>