i just got the nightly build from 02/22/2001 and tried it. i am still
getting the "not a servlet" error. my servlet is in a package and in a
directory other than the 'classes' directory. i have included the
path to that directory in the classpath in the .bat file so it knows
where to look for my servlet. would this setup cause a problem like this?

thanks,

eddie
-- 

On Wed, 21 Feb 2001, Craig R. McClanahan wrote:

> eddie tsai wrote:
> 
> > i am using tomcat 4.0 milestone 5. suggestion on which version i should
> > get?
> >
> 
> Tomcat 4.0-beta-1 is more recent than milestone 5, and should have this problem 
>fixed.  You
> can also try one of the recent nightly distributions, or wait for the upcoming 
>beta-2 release
> (which will be substantially similar to the current nightly builds) as well.
> 
> >
> > thanks,
> >
> > eddie
> >
> 
> Craig
> 
> 
> > --
> >
> > On Wed, 21 Feb 2001, Craig R. McClanahan wrote:
> >
> > > eddie tsai wrote:
> > >
> > > > hi,
> > > >
> > > > i am upgrading from tomcat3.2 to tomcat4.0. the same servlets that
> > > > worked with tomcat3.2 don't work with tomcat4.0 anymore. specifically,
> > > > it tells me that my servlets aren't servlets. the root cause was that it
> > > > had problem while casting. my servlet extends GenericServlet. my
> > > > servlets are located in a different directory (not in the classes
> > > > directory), would that cause the problem? it looks like it could find
> > > > the servlet but could not accept it as a servlet.
> > > >
> > > > did anyone encounter that problem when upgrading? how did you solve it?
> > > >
> > >
> > > Which build of Tomcat 4.0 are you trying this with.  There were problems similar 
>to this
> > > prior to 4.0-beta-1 but they have been fixed in recent nightly builds.
> > >
> > > >
> > > > thanks,
> > > >
> > > > eddie
> > > >
> > >
> > > Craig McClanahan
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, email: [EMAIL PROTECTED]
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 


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

Reply via email to