There's some recent work going on in the nightly build that might
interest you. 

http://www.mail-archive.com/struts-dev%40jakarta.apache.org/msg04354.html


Becky Moyer wrote:
> 
> Hello all...
>    I can't seem to find the answer to my question in the archive, the
> javadoc, or the source, so I was hoping someone could figure this one out.
> 
>    I have a class extending ActionServlet to read struts-config.xml files
> from places other then WEB-INF/ in order to split apart the different
> aspects of my webapp.  I would also like to be able to split up my
> resource.properties files.  I can find these files in my ActionServlet, but
> I can't figure out how to read them in so that they will be available for
> <bean:message key="mykey"/> tags.  I've tried doing a props.load and a
> System.setProperties(props), and after I did that I saw that Struts stores
> those messages using its own Properties object...I'm just not sure how I can
> get the new properties in without losing the old properties, since it looks
> like I have to create a new MessageResource object in the ActionServlet to
> add in a new properties file.
> 
>   I'm going to keep staring at the code and the javadoc, but does someone
> have any ideas as to what I need to do with the properties to make them
> available to bean:message??   I feel like I am missing something staring me
> in the face!
> 
>    Thanks in advance,
>    Becky
> 
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to