Is you classes in a package?

such as com.frank.yada

It was my understanding from other posts I have seen on this list, that
Tomcat will not pick up classes not in a package

-----Original Message-----
From: Frank Garber [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 1:21 PM
To: Tomcat Users List
Subject: RE: Not seeing new classes


Yes, I did a 'Reload' and a Stop/Start but neither helped.

This seems like a no brainer but the heck if I can get it to work.  Can you
try
doing the same on your sytem?

Thanks,

Frank

--- Jan Behrens <[EMAIL PROTECTED]> wrote:
> > -----Original Message-----
> > From: Frank Garber [mailto:[EMAIL PROTECTED]
> > Sent: Friday, April 04, 2003 10:06 PM
> > To: [EMAIL PROTECTED]
> > Subject: Not seeing new classes
> >
> >
> > I'm playing with the Tomcat example jsp files, specifically the
> > date.jsp file.
> >
> > I can add a statement like:  <%= new java.util.Date() %> <br />
> > to kick out the current date as a string, but when I try to access
> > a java class
> > I've written, I get a 'cannot resolve symbol'.  The error happens
> > as the jsp is
> > being compiled.
> >
> > Here's the offending statement:
> > <%= Yada.getString() %> <br />
> >
> > Here's the class definition:
> > public class Yada {
> >     public static String getString() {
> >             return "Hello from Yada.getString()";
> >     }
> > }
> >
> > The Yada.java and Yada.class file lives in the WEB-INF\classes
directory.
> >
> > The WEB-INF\classes directory is in the classpath as per the screen dump
> I'm
> > getting.
> >
> > Frank
> >
> > =====
> 
> Hi Frank,
> 
> just asking a maybe stupid question... but have you reloaded the examples
> webapp through the webapp-manager?
> 
> regards, Jan
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


=====
__________________________________________________

My full time permanent email address is always: [EMAIL PROTECTED]

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to