You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by BugRat Mail System <to...@cortexity.com> on 2000/09/26 01:14:30 UTC

BugRat Report #165 has been filed.

Bug report #165 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/165>

REPORT #165 Details.

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

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

Description:
Excuse me...the last bug report got scrambled.

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 has these definitions for a servlet: 
servlet-name=snoop, jsp-file=/snoop.jsp

The web.xml file has these definitions for servlet-mapping:
servlet-name=snoop, url-pattern=/snoop

However, when I invoked <>/myJsp/Test/snoop, I received the error:: 
"Error: 404 Location:/myJspTest/snoop.jspnull File Not Found /myJspTest/snoop.jspnull"
The server seems to be adding a 'null' to the snoop.jsp file name.