# Revision history [back]

### how to save value of preference back to zk.xml

Hi everyone. I see have two way to set appName. 1. WebApp.setAppName (value) 2. WebApp.getConfiguration().setPreference("org.zkoss.zk.ui.WebApp.name", value);

two method update appName but when I restart server, i just old value of appName. because value is not write back to zk.xml how to i can write back it? Thanks for support!

 2 No.2 Revision

### how to save value of preference back to zk.xml

Hi everyone. I see have two way to set appName. 1. WebApp.setAppName (value) WebApp.setAppName(value) 2. WebApp.getConfiguration().setPreference("org.zkoss.zk.ui.WebApp.name", value);

two method update appName but when I restart server, i just old value of appName. because value is not write back to zk.xml how to i can write back it? Thanks for support!

Support Options
• Email Support
• Training
• Consulting
• Outsourcing
Learn More