This servlet is using ServletConfig(). I'm manually trying to enter this
propfile value in. I am not using a web.xml I simply have the web server
configured to automatically load the servlet. In Sun's javaWebServer 2.0 I
could specify init properties the way I discussed earlier. Property is
propfile value is location of propfile.
I am new to setting up web servers and we are trying to demo JRun to some
customers. I have followed the JRun documentation to no avail. Please help
me!
Scott Humphreys
I/O Concepts
Technical Support
425 450 0650 x103
[EMAIL PROTECTED]
----- Original Message -----
From: "Scott Stirling" <[EMAIL PROTECTED]>
To: "JRun-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, July 08, 2001 8:18 AM
Subject: RE: Trouble loading the Properties File with Jrun 3.0
> By what means are you attempting to load the prop file? Are you using
> ServletContext.getResource() or are you attempting to "manually" read in
the
> properties file?
>
> If the other suggestions posted in response don't help solve it, please
> reply back with a snippet of the actual code from your init method and
> web.xml.
>
> Scott Stirling
>
> > -----Original Message-----
> > From: Scott Humphreys [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, July 05, 2001 4:31 PM
> > To: JRun-Talk
> > Subject: Trouble loading the Properties File with Jrun 3.0
> >
> >
> > I am using JRun 3.0 on Windows 2000. I am attempting to add
> > a servlet. =
> > My servlet needs to load a prop file on init. I see how to add =
> > application variables but they are using ServletContext() how
> > can I pass =
> > parameters to ServletConfig(). I have tried InitParam with =
> > Propfile=3Dc:\wshtml.prop but I get a 500 error and when I
> > look in the =
> > log I see my servlet is not instantiated because of a null pointer =
> > exception when trying to load the propfile. Any help is
> > appreciated. =
> > Thanks
> >
> > Scott Humphreys
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists