Hello,

I work under Windows NT 4.0 Workstation (SP5) with the JSDK and JDK 1.2.2.
Till yesterday I used JSDK version 2.0 and then I downloaded 2.1. With both
versions I did not succeed to access the properties from the
servlet(s).properties file. Even the examples which came with the JSDK did
not get their properties. With both JSDK versions the servlets worked fine,
but did not get their initial parameters. I have already some experience
with servlet programming under Solaris, and I never had problems with the
property files.
I left the directory structure as it was in the archive which I downloaded,
set CLASSPATH, and started the servletrunner. I suppose the SnoopServlet
should show the values for initArg1 and initArg2, as specified in the
servlets.properties, but between the line "Init Parameters" and the line
"Context attributes" there only was an empty line.
I added a line of nonsense to the servlets.properties and got an error
message from the servletrunner which means the file is found and read.
SnoopServlet also runs as normal. Only the init args miss. So it does not
seem to be a problem of wrong paths. Since the configuration is still
original, I do not know what I could have done wrong.

Unfortunately I do not have access to machines running with another OS at
the moment.

Any ideas?

Thanks,

  Klaus Deissner

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to