David
From: "edgar" <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
To: "'Struts Developers List'" <[EMAIL PROTECTED]>
Subject: Constants for EL / JSTL
Date: Thu, 21 Nov 2002 07:07:43 -0500
There was some discussion on struts-user about how to access java
constants from EL / JSTL.
My idea is to have init parameters in web.xml for ActionServlet of the
form
<init-param>
<param-name>taglib-constant</param-name>
<param-value>[fully-qualified-class]</param-value>
</init-param>
ActionServlet would then using forName load the class as a bean into the
application context under the either
1) the fully qualified class name
2) Global[BaseClassName]
If there is any interest I will implement. I currently am getting
around this issue with a JSP include.
Let me know.
Edgar
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>