During development, if you modify the message bundles file and want to see the modified effect, you have to restart the Web server after each modification. This is another headache.
In fact, in opencms6.2, a feature has been added to avoid "restart". You can re-obtain the modified message bundles through the following steps: Administration View) --> Workplace tools --> re-initialize the workplace) Similarly, you can Code<% @ Page import = "org. opencms. JSP. *, org. opencms. file. *, org. opencms. flex. *, Java. util. * "%> <% @ taglib prefix =" cmstag "uri =" http://www.opencms.org/taglib/cms "%> <% Org. opencms. i18n. cmsresourcebundleloader. flushbundlecache (); // clear bundles cache Java. util. resourcebundle messages = org. opencms. i18n. cmsresourcebundleloader. getbundle ("your_bundle_here", new Java. util. locale ("es"); %> <% = messages. getstring ("test. label1 ") %>