tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kennedy Clark <kcl...@iname.com>
Subject Access web.xml context-param From A Bean?
Date Sun, 17 Feb 2002 16:04:09 GMT
I have values I want set at deployment time declared in my web.xml.  I am 
accessing these with no problem from my JSPs with:
	<%= application.getInitParameter("paramNameHere") %>

However, for my business logic which I have pulled out the if JSPs and put 
into beans, I can't figure out how to access these values?  Is there way to 
get to values stored in the container from a bean?

TIA, Kennedy


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message