I've been trying to get the JSDK 2.1 ServletRunner to pass in an
initialization parameter to a servlet and have been having trouble.  Has
anyone gotten this to work?  Even the sample SnoopServlet doesn't seem
to be working correctly for me.

It appears that ServletRunner no longer obeys any command line
configuration parameters that are passed to it on startup, like it did
in JSDK 2.0 (for example, the "-s" command).  Some of the ServletRunner
configurations are set in the file "default.cfg", and I also see a
sample file called "servlets.properties" that seems to indicate that
initialization parameters can be set there.  However, it doesn't seem to
be working.

I think part of my problem is that I don't understand the relationship
(if any) between the default.cfg file and the servlets.properties file
(which happen to be in different directories).  How does ServletRunner
know where to find its servlets.properties file?  Can anyone give me
some hints on how to make initialization parameters work?  Has anyone
gotten initialization parameters to work with JSDK 2.1?

Thanks in advance for any help you can give.

John

___________________________________________________________________________
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