tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ketan Patel <ketanforora...@yahoo.com>
Subject Re: static class and JSP
Date Thu, 13 Sep 2001 05:17:02 GMT
Hi,
You can certainly use static class variables in jsp file using 
reference of  fully qualified classname.

JBrawner@silenus.com wrote:
> 
> Upon tomcat being started, I have a servlet populate a static class with
> configurations that are used by other servlets when they are invoked.  This
> works great!  But, now I'd like to have my JSP's use this static class but
> I'm getting the "Undefined variable or class name" error on the JSP.  How
> do I tell the JSP's where this file is?  It is in the web-inf/classes
> directory with my other servlets.
> 
> Thanks,
> 
> Jason E. Brawner

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Mime
View raw message