The message resources work has been moved to Commons, for exactly this
reason. It's currently in the sandbox under 'resources'. The problem at the
moment seems to be that it's not at the top of anyone's list to work on (and
that includes me, I'm afraid), so not a lot has happened for a while.

If you have the time and inclination, feel free to take a look at what's
there and propose additions and/or changes (on the commons-dev list). If you
can post patches, I'll see what I can do about applying them.

--
Martin Cooper


----- Original Message -----
From: "Dimitri Valdin" <[EMAIL PROTECTED]>
To: "Struts Developers List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 19, 2002 3:52 AM
Subject: MessageResources



It would be nice to have MessageResources(Factory) and
PropertyMessageResources(Factory)
to be packaged within some standalone jar file and not within struts. The
classes can be useful
not only for web, but also for ejb application as well. But if some wants to
let ejb classes to use this features,
then it is necessary to include struts.jar into system classpath of ejb
container. This would mean,
that common-xxx stuff should also be included into the system classpath. And
path to web resources as
well. This is a typical problem of different class loaders for ejb and web
applications. Of course it
occurs only in case web and ejb container is the same process. Please
correct me if I am wrong.

Just another point. Is it really necessary for abstract
MessageResourcesFactory to know
about concrete implementation:

    protected static String factoryClass =
        "org.apache.struts.util.PropertyMessageResourcesFactory";


It might be possible to set this value in ActionServlet, in case the
"factory" parameter was not specified.

Dmitri Valdin



--

Diese E-Mail enth�lt vertrauliche und/oder rechtlich gesch�tzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrt�mlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.



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