September 2004 1:16 AM
To: Tag Libraries Users List
Subject: Re: [JSTL] Exposing CONTEXT-PARAM defined elements in a JSP
Adrian Beech wrote:
TITLEc:out value='${initParams[applicationName]}'//TITLE
... it's initParam -- singular --
c:out value='${initParam[applicationName]}'/
or
c:out value
Adrian Beech wrote:
Is initParam[...] JSTL 1.1 specific? I can get TITLEc:out
value='${initParam[applicationName]}'//TITLE to work under Tomcat 5.0
with JSTL 1.1 but not under Tomcat 4.1.24 with JSTL 1.0.
Nope, both of the below work fine on my 4.1.30 systems.
c:out
G'day all,
I have a context parameter defined in the web.xml file and was wondering how
to get it into the JSP? For example, I have
CONTEXT-PARAMPARAM-NAMEapplicationName/PARAM-NAMEPARAM-VALUERASCAL
- Development/PARAM-VALUE/CONTEXT-PARAM in the web.xml and
TITLEc:out
Subject: [JSTL] Exposing CONTEXT-PARAM defined elements in a JSP
G'day all,
I have a context parameter defined in the web.xml file and was wondering how
to get it into the JSP? For example, I have
CONTEXT-PARAMPARAM-NAMEapplicationName/PARAM-NAMEPARAM-VALUERASCAL
- Development/PARAM-VALUE