tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BugRat Mail System <>
Subject BugRat Report #164 has been filed.
Date Mon, 25 Sep 2000 21:29:26 GMT
Bug report #164 has just been filed.

You can view the report at the following URL:


REPORT #164 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: medium
Severity: serious
Confidence: public
   Release: Tomcat 3.1
   JVM Release: Java 2
   Operating System: Sun/Solaris
   OS Release: recent
   Platform: Sun/Solaris

JSP file names have 'null' appended to them when defined in web.xml

I tried to create a web.xml file to run the snoop.jsp file that comes with Tomcat (see TOMCAT_HOME/examples/jsp/snp).

I created a new webapps directory, called myJspTest, and defined it in the server.xml file.

I placed the snoop.jsp file in it, and a WEB-INF/web.xml file.  The web.xml file contains

<!DOCTYPE web-app 
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" 




      <session-timeout>30</session-timeout>    <!-- 30 minutes -->


However, when I invoked .../myJsp/Test/snoop, I received this error:

Error: 404

Location: /myJspTest/snoop.jspnull

File Not Found

How does one create the web.xml file to invoke snoop.jsp without the server adding the 'null'
to it?

View raw message