tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <Wendy.Sm...@asu.edu>
Subject RE: class files not being found
Date Wed, 15 Jan 2003 18:54:06 GMT
> Is there a way to use .class files
> found under WEB-INF/classes that are not part of a
> package?

Not as far as I can tell.  JDK 1.4 started enforcing a part of the JLS that
says you can't import a class in the default package (no package statement)
into a class that is in a named package.  The behavior of Tomcat 4.1 is
consistent with that.  But since all production code should be in a package
anyway, this isn't really a problem.

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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message