Problem accessing Context Parameter

Hi,

I have the following code in web.xml for initialising context parameter.

<context-param>

<param-name>myContextParamName</param-name>

<param-value>myContextParamValue</param-value>

</context-param>

I am trying to access it in JSTL using

${initParam["myContextParamName"]}

and it does not work.

I am not sure if the changes to web.xml are being recognized. I tried to use a JNDI name that was set up on the server as a resource in web.xml and even that is not recognized by the code. Restarting the server did not help.

Any ideas please ?

Thanks

vmrao

[671 byte] By [vmraoa] at [2007-10-3 2:01:36]
# 1
What does not work about it?Does it throw an error?What gets printed if anything?Are other JSTL expressions working?What server are you using?What version of JSTL?Are there any error messages in the log, maybe from the web.xml startup?
evnafetsa at 2007-7-14 19:00:20 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...