System.getProperties() returns a Properties object, which extends from
Hashtable.

----- Original Message -----
From: "Mark Galbreath" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 25, 2001 09:05
Subject: Re: j2ee problem while geting System.getProperties().


> I don't know how this is working at all since you have not instantiated
the
> hashtable.
>
> Cheers!
> Mark
>
> ----- Original Message -----
> From: "Shuja Nawaz" <[EMAIL PROTECTED]>
> Sent: Tuesday, April 25, 2000 9:56 AM
>
>
> > I'm using type4 drivers' connection pooling for which I to use JNDI.
> > The class works fine for Bea Weblogic and Orion Servers but gives
> exception
> > in j2ee.
> > Following is the scenario where I have to use the
System.getProperties().
> > (Only some selected lines.)
> >
> > Hashtable env;
> >    env = System.getProperties();
> >    env.put(Context.INITIAL_CONTEXT_FACTORY,dbContextFactory);
> >     env.put(Context.PROVIDER_URL, "file:"+sFileStore+"/");
>
>
___________________________________________________________________________
> 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

___________________________________________________________________________
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