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

Reply via email to