tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Layman <randy.lay...@aswethink.com>
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.

	Randy

-----Original Message-----
From: Andrew [mailto:asd@ezan.ac.ru]
Sent: Thursday, May 17, 2001 5:44 AM
To: tomcat-user@jakarta.apache.org
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
errors.

What could be wrong?

Mime
View raw message