[Xitami] Servlets (JSP) in Xitami!

Brian {Hamilton Kelly} xitami@lists.xitami.org
Mon, 22 Oct 2001 19:13:39 +0100


In message <003901c15b44$b95c1d10$6f01a8c0@irionmihaela>
   "Mihaela Chistruga" writes:
> Thank you very much!
> 
> I already downloaded Servlet Runner and I'm trying now to configure it, b
> ut
> 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!

The hint I immediately think of with Java is that the filenames are case
sensitive; whilst Windoze is quite happy with any spelling of source and
class names, java.exe and similar programs all look for the file with the
exact spelling.  It can be very confusing on a computer that, like
Windows (or, for that matter, OS/2 with HPFS) can permit filenames to be
written in upper, lower or mixed case, and yet the filesystem itself will
find the file with any form of the letters.

Could that be a factor here (I know nothing about supporting JSP through
ServletRunner)?

The other idea that springs to mind is do you have a CLASSPATH
environment variable?  If this does not include '.', the current
directory, classes will only be sought in the directories listed in the
path; this is a security feature.

-- 
Brian {Hamilton Kelly}                                          bhk@dsl.co.uk
    "We have gone from a world of concentrated knowledge and wisdom to one of
    distributed ignorance.  And we know and understand less while being incr-
    easingly capable."              Prof. Peter Cochrane, formerly of BT Labs