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