Hi,

I'm experience something completely mysterious and I'm sure I'm doing
something wrong -- the question is "what?".

I've set some init parameters in server.xml as follows:

<Context ...>
          <Parameter name="creditcard.store_id" 
                     value="xxx" />
          <Parameter name="creditcard.api_token" 
                     value="yyy" />
</Context>

... and in my JSP page, I have the following code:

    String store_id = 
        (String)application.getInitParameter("creditcard.store_id");
    session.setAttribute("creditcard.store_id", store_id);

     String api_token =
        (String)application.getInitParameter("creditcard.api_token");
    session.setAttribute("creditcard.api_token", api_token);

Occasionally when I load the JSP page the  init parameters have the
correct values but sometimes they contain null.

What would cause the parameters to be overwritten?

Thanks,
Gil




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to