You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/02/04 03:21:58 UTC
[Bug 145] New - Update to JSP file names have 'null' appended to them when defined in web.xml BugRat Report#165
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=145
*** shadow/145 Sat Feb 3 18:21:58 2001
--- shadow/145.tmp.27273 Sat Feb 3 18:21:58 2001
***************
*** 0 ****
--- 1,40 ----
+ +============================================================================+
+ | Update to JSP file names have 'null' appended to them when defined in web. |
+ +----------------------------------------------------------------------------+
+ | Bug #: 145 Product: Tomcat 3 |
+ | Status: RESOLVED Version: 3.1 Final |
+ | Resolution: DUPLICATE Platform: Sun |
+ | Severity: Normal OS/Version: All |
+ | Priority: High Component: Config |
+ +----------------------------------------------------------------------------+
+ | Assigned To: tomcat-dev@jakarta.apache.org |
+ | Reported By: janice.champion@hsc.com |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | 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.
+
+
+
+ ------- Additional Comments From nacho@siapi.es 2001-02-03 18:21 -------
+
+
+ *** This bug has been marked as a duplicate of 144 ***