Apache Struts 2 Documentation > Home > FAQs > How do I decouple XWork LocalizedTextUtil global resource bundle loading from serlvets |

Apache Struts 2 Documentation
How do I decouple XWork LocalizedTextUtil global resource bundle loading from serlvets
Edit Page Browse Space Add Page Add News
Added by digi9ten, last edited by Ted Husted on Jul 22, 2006 (view change)

If you're using XWork outside a Web context, then use whatever startup hooks you have in that context (i.e. application start for a desktop app) to add the global resource bundle. This is a startup activity, so use whatever mechanisms are provided in the context you're running in.