Strange.... Here is the whole file for you...
----- Original Message ----- From: "GHOSTRIDER" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]> Sent: Thursday, April 12, 2007 12:23 PM Subject: Regarding: Tomcat default JSP edit
. Hello, I have a question, I'm new to Tomcat but not new to server configurations.. I have installed Apache Tomcat/6.0.10 I'm attempting secure my installation and I've hit a road block when trying to follow the written tutorial "*Editing the default JSP home page loaded by Tomcat*" Located here: http://wiki.apache.org/tomcat/EditDefaultJSPPage The problem I am seeing is.. According to the tutorial..I should see something like this in my CATALINA_HOME/webapps/ROOT/WEB-INF/web.xml <servlet> <servlet-name>org.apache.jsp.index_jsp</servlet-name> <servlet-class>org.apache.jsp.index_jsp</servlet-class> </servlet> <servlet-mapping> <servlet-name>org.apache.jsp.index_jsp</servlet-name> <url-pattern>/index.jsp</url-pattern> </servlet-mapping> And, per the tutorial I should comment the above code out to proceed with editing the default JSP page. However, I am not seeing the above code at all on my web.xml doc. All that is on that web.xml doc below the license info text is this: <web-app 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_5.xsd" version="2.5"> <display-name>Welcome to Tomcat</display-name> <description> Welcome to Tomcat </description> </web-app> I was wondering if anyone could guide me in this area? Thanks, Rod [EMAIL PROTECTED]
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- Copyright 2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <web-app 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" version="2.4"> <display-name>Welcome to Tomcat</display-name> <description> Welcome to Tomcat </description> <!-- JSPC servlet mappings start --> <servlet> <servlet-name>org.apache.jsp.index_jsp</servlet-name> <servlet-class>org.apache.jsp.index_jsp</servlet-class> </servlet> <servlet-mapping> <servlet-name>org.apache.jsp.index_jsp</servlet-name> <url-pattern>/index.jsp</url-pattern> </servlet-mapping> <!-- JSPC servlet mappings end --> </web-app>
--------------------------------------------------------------------- To start a new topic, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]