tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Layman <>
Subject RE: Static filed reference BUG since( Tomcat 4b2-b5)
Date Thu, 17 May 2001 11:26:47 GMT

	Just a thought - have you imported that class?  You need to remember
that all generated classes are placed into a package corresponding to their
location in the webapp (prefixed by jsp, I believe), so classes that aren't
in any package aren't in the same package as the JSP file.  I believe that
if you import the class (and I think you'll have to do each separate class
explicitly) this should solve your problem.


-----Original Message-----
From: Andrew []
Sent: Thursday, May 17, 2001 5:44 AM
Subject: Static filed reference BUG since( Tomcat 4b2-b5)

    Hi, every time I try to reference static field(from jsp page) in
nonpackaged class I've got jasper error:
Undefined variable or class name: Myclass, but I've put that in
\WEB-INF\classes dir of my app and Tomcat4b1 process my page without any

What could be wrong?

View raw message