[Xitami] Servlets (JSP) in Xitami!

Johnson, Nathan J xitami@lists.xitami.org
Mon, 22 Oct 2001 14:25:23 -0400


Mihaela,

It sounds like you are having a CLASSPATH problem.  Make sure that your
servlet class is the classpath.  What I usually do is package my servlets in
a jar file and then use the "java -classpath" option to specify my jar file
when I launch the servletrunner.  I also do not use the .class extension in
my servlet.properties file.  Hopefully this helps.

~Nate Johnson

> -----Original Message-----
> From:	Mihaela Chistruga [SMTP:mihaela@irion.nl]
> Sent:	Monday, October 22, 2001 5:59 PM
> To:	xitami@lists.xitami.org
> Subject:	Re: [Xitami] Servlets (JSP) in Xitami!
> 
> Thank you very much!
> 
> I already downloaded Servlet Runner and I'm trying now to configure it,
> but
> I have a problem: it seems that I don't know how to specify the full name
> of
> the class that implements the servlet or I don't know where to put the
> class, because I keep getting the message:
> 
> Oct 22, 2001 2:56:49 PM iMatix Servlet Runner -- started
> Oct 22, 2001 2:56:49 PM synonyms: servlet class not found (Synonyms)
> 
> and my properties file looks like this:
> 
> servlet.synonyms.code = Synonyms.class
> 
> Both the properties file and the class file are in the same directory!
> 
> Please give me a hint!
> 
> Mihaela
> 
> > En réponse à Mihaela Chistruga <mihaela@irion.nl>:
> >
> >
> > You can only use servlet (jsdk 2.0 compliant) using ServletRunner as
> module of
> > xitami.
> >
> > ServletRunner is available on xitami web site
> >
> > Hope this helps
> >
> > Alexandre
> >
> > > Hello,
> > >
> > > Please help me with this problem:
> > >
> > > Can I configure Xitami so that it will recognize Jsp or at least
> > > servlets! If so, please tell me how, what files do I have to configure
> > > and how can I make my jsp's (servlets) work!
> > >
> > > Thank you!
> > >
> >
> > --
> > Xitami Users Mailing List -- For Xitami support
> > To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
> >
> 
> 
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami