IT WORKED... Thanks...
I didn't know that you have to expicitly import ALL classes... the import
"*" blows up however... also of interest is that all of the Bean
declarations have to have the -full- package name...
Thanks again...
JH
> The problem is that your generated servlet code (from the JSP) has a
> package associated with it that is based upon the webapp's
> structure. Your
> top-level jsp is in the default (blank) package. Your lower JSP is in the
> subdir1.subdir2 package.
>
> To solve the problem in your test.jsp class you need to add a <%@
> page import="test" %> (double check my syntax, I'm typing quickly). An
> import="*" might work, but I'm not sure.
>
> Randy
>
> > -----Original Message-----
> > From: Jeffrey Hood [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, June 21, 2001 1:14 PM
> > To: [EMAIL PROTECTED]
> > Subject: Classpath problems with Tomcat 3.2
> >
> >
> >
> > Anyone have -any- explaniation of this???
> >
> > I can't seem to get the following to work...
> >
> > entry in server.xml
> > <Host name="dev.jhood.com" >
> > <Context path="/"
> > docBase="/home/jhood/dev/websource/tomcat"
> > debug="0"
> > crossContext="false"
> > reloadable="true">
> > </Context>
> > </Host>
> >
> > files:
> > /home/jhood/dev/websource/tomcat:
> > /WEB-INF
> > /classes
> > test.class
> > /subdir1
> > /subdir2
> >
> > I have test.jsp in /home/jhood/dev/websource/tomcat, and it finds the
> > test.class fine, as well as other classes that test.class
> > uses... all is
> > well...
> >
> > But if I put test.jsp in
> > /home/jhood/dev/websource/tomcat/subdir1/subdir2,
> > the jsp doesn't compile, and the message is that it can't find
> > subdir1.subdir2.test to instance it...
> >
> > Why is it looking for the subdir1.subdir2 package instead of
> > finding it in
> > WEB-INF/classes... do I -have- to have all of my jsp's in
> > the root (can't
> > believe that is the case...)
> >
> > Thanks in advance...
> >
> > JH
> >
> >
> >
> > Jeffrey Hood
> > HM Consulting, Inc.
> > 717.509.6558
> > [EMAIL PROTECTED]
> >
> >