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

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.