I'd like to be able to code the following line:
<c:out value="${Constants.HOME_DIR_KEY}"/>
where Constants.HOME_DIR_KEY is a java method that returns the name of bean
"home_directory".
The following two lines work:
<%= Constants.HOME_DIR_KEY %> // returns the value
"home_directory"
<c:out value="${home_directory} /> // returns the contents of bean named
"home_directory"
However nothing is written to the page with:
<c:out value="${Constants.HOME_DIR_KEY}"/>
I suppose it doesn't work because Constants.HOME_DIR_KEY isn't a bean.
Any ideas on how to de-reference Constants.HOME_DIR_KEY for <c:out> ?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]