I just tried that, but no luck.  I still get no InitParameters.
I tried using both the getInitParameterNames() and
context.getInitParameterNames() in the JSP.  Is the first one just an
implicit version of the second?

Chris


> From: Brian Tol [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 06, 2001 9:52 AM
> Have your tryed putting your params in the context?
> 
> ---------snip--------------
> <web-app>
> 
>     <!-- MySQL host -->
>     <context-param>
>        <param-name>dbhost</param-name>
>        <param-value>localhost</param-value>
>     </context-param>
> 
>     <!-- MySQL database -->
>     <context-param>
>        <param-name>dbname</param-name>
>        <param-value>blah</param-value>
>     </context-param>
> 
>     <!-- more stuff here -->
> </web-app>
> --------/snip--------------
> 
> These are in the context (the overall application), instead of a
> particular servlet. You can access them via the getInitParameter()
> method of the context...
> 
> Hope that helps,
> 
> Brian
> [EMAIL PROTECTED]
> 

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

Reply via email to