OOPS

-----Original Message-----
From: edgar [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, November 21, 2002 10:03 AM
To: 'David Graham'
Subject: RE: Constants for EL / JSTL


The idea wasn't intended to be struts specific, just a way to preload
constant classes for a struts based application.  

Obviously, I can extend the class and do it just for my project.

Thanks

Edgar

-----Original Message-----
From: David Graham [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, November 21, 2002 9:41 AM
To: Edgar Dollin; [EMAIL PROTECTED]
Subject: Re: Constants for EL / JSTL


I was talking about general constant issues, not the Struts specific 
constants.  I don't think we need any Struts specific stuff for this.

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]>

Reply via email to