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
> 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?  With JDK 1.4, you cannot import a class in the default package
[no
package statement] into a class that *is* in a package.  JDK 1.3 would
let
you do it.

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to