Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Need help with OAS and Servlet Initialization

Re: Need help with OAS and Servlet Initialization

From: Finn Ellebaek Nielsen <fen_at_changegroup.dk>
Date: Wed, 29 Mar 2000 23:47:56 +0200
Message-ID: <8btto7$qmd$1@news.inet.tele.dk>


Have a look at Note:93734.1 on Metalink.

As taken from a forum on MetaLink:

From: Kirk Condon 09-Dec-99 16:40
Subject: Re : getInitParameter fails to work in servlet

I developed a workaround by setting a SYSTEM_PROPERTY (as in init_userid=abcdef.

This is picked up in the servlet via:

Properties p = System.getProperties();
init_userid = p.getProperty("init_userid");

Scott Bortman <scott_at_csihq.com> wrote in message news:se4s90o3ead133_at_corp.supernews.com...
> Hello,
>
> I have the following setup:
>
> Oracle Application Server 4.0.8
> Oracle 8 Enterprise Edition (8.0.4.0.0)
> Solaris 2.5
>
> I am having trouble getting my Servlets to read
> their parameters using getInitParameter(). The
> servlets work fine when tested with Sun's JSWDK2.0.
>
> The properties are of the form:
>
> servlet.<servlet name>.initArgs=prop1=value,prop2=value
>
> as stated in the JServlet developer's guide. I know that I
> have enter this onto the Java Configuration form, but how?
> The developer's guide refers to the adminstrator's guide which
> shows a blank form!
>
> Also, the format that is explicitly stated in developer's is JSWDK2.0
> but the documentation says that OAS supports JSWDK2.1 which uses
> a different format. Is it a typo? Which is correct?
>
> If anyone has the answers to these questions, please respond.
>
> Thanks in advance,
> scott
>
>
>
Received on Wed Mar 29 2000 - 15:47:56 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US