On Sat, 18 Jan 2003, Charles So wrote:
> Date: Sat, 18 Jan 2003 20:50:21 +0800 > From: Charles So <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Strange error when importing class in JSP under TC4.1.18 > > Dear all, > > I am tearing my hair out trying to solve this problem... it seems to be > a problem with TC. > If you're running JDK 1.4.1 or later, it's not Tomcat -- it's the JDK that doesn't like this. JDK 1.4.1 tightened up rules that have always been in the Java Language Specification (but never enforced by javac) that you can't import an unpackaged class. That's exactly what you are trying to do here. Place your classes in packages and they'll work fine. Craig -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
