JavaScud | Forum | JIRA | Blog |
  Dashboard > WebWork2文档中文化计划 > ... > FAQ > How do I decouple XWork LocalizedTextUtil global resource bundle loading from serlvets
  WebWork2文档中文化计划 Log In View a printable version of the current page.  
  How do I decouple XWork LocalizedTextUtil global resource bundle loading from serlvets
Added by scud, last edited by scud on Mar 30, 2006  (view change)
Labels: 
(None)

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.

Site running on a free Atlassian Confluence Open Source Project License granted to WebWork China. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.3 Build:#808 May 29, 2007) - Bug/feature request - Contact Administrators