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: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | 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 [EMAIL PROTECTED] 2001-02-03 18:21 ------- + + + *** This bug has been marked as a duplicate of 144 *** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]