RE: Tomcat 4.1.18 jsp import and include error

2003-01-09 Thread Hongsong Zhou
I can not use TestData without an import even it is in the default package. [EMAIL PROTECTED] 01/09/03 01:08AM with package : %@ page import=testPackage.TestData % is ok but without package : %@ page import=TestData % you get exception. See

RE: Tomcat 4.1.18 jsp import and include error

2003-01-09 Thread Noel J. Bergman
I can not use TestData without an import even it is in the default package. OK, let me be clearer. Consider the following trivial code: - nopackage.java: //package inpackage; public class nopackage { public String s; public nopackage(String

Tomcat 4.1.18 jsp import and include error

2003-01-08 Thread Hongsong Zhou
I installed Tomcat 4.1.18 under Windows 2000 Server and IIS, everything is fine except two errors: 1. In jsp, when I import a class, this class should in some package, otherwise you get ClassNotFoundException. But in Tomcat 4.0.4 I can import a class without package. Is this a Tomcat 4.1.18

RE: Tomcat 4.1.18 jsp import and include error

2003-01-08 Thread Wendy Smoak
1. In jsp, when I import a class, this class should in some package, otherwise you get ClassNotFoundException. But in Tomcat 4.0.4 I can import a class without package. Is this a Tomcat 4.1.18 feature or bug Did you by chance change from JDK 1.3 to 1.4 when you moved from Tomcat 4.0 to 4.1?

RE: Tomcat 4.1.18 jsp import and include error

2003-01-08 Thread Hongsong Zhou
I did use JDK 1.4, but when I use JDK 1.4 and Tomcat 4.0.4, everything is fine. So I think it is a Tomcat 4.1.18 issue. [EMAIL PROTECTED] 01/08/03 04:26PM 1. In jsp, when I import a class, this class should in some package, otherwise you get ClassNotFoundException. But in Tomcat 4.0.4 I can

RE: Tomcat 4.1.18 jsp import and include error

2003-01-08 Thread Wendy Smoak
I did use JDK 1.4, but when I use JDK 1.4 and Tomcat 4.0.4, everything is fine. So I think it is a Tomcat 4.1.18 issue. Well, since all production code should be in a package, I don't see an issue. I'd regard the 4.0 behavior to be wrong and the 4.1.18 behavior to be fixed. -- Wendy Smoak

RE: Tomcat 4.1.18 jsp import and include error

2003-01-08 Thread Noel J. Bergman
with package : %@ page import=testPackage.TestData % is ok but without package : %@ page import=TestData % you get exception. See http://forum.java.sun.com/thread.jsp?forum=31thread=231550. You ought to be able to use TestData without an import, since it is in the default package, but

Re: Tomcat 4.1.18 jsp import and include error

2003-01-08 Thread David Hemingway
PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, January 09, 2003 6:08 PM Subject: RE: Tomcat 4.1.18 jsp import and include error with package : %@ page import=testPackage.TestData % is ok but without package : %@ page import=TestData % you get exception. See http

Re: Tomcat 4.1.18 jsp import and include error

2003-01-08 Thread Craig R. McClanahan
On Thu, 9 Jan 2003, David Hemingway wrote: Date: Thu, 9 Jan 2003 18:18:09 +1100 From: David Hemingway [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Tomcat 4.1.18 jsp import and include error Noel, I think they have