| Author |
Message Resource Bundle
|
Arpit Gadle
Ranch Hand
Joined: Dec 16, 2008
Posts: 69
|
|
Dear All,
Changing value in the resource bundle(Struts2) requires server restart?
Thanks
|
 |
Eduardo Yañez Parareda
Ranch Hand
Joined: Oct 09, 2008
Posts: 92
|
|
|
Yes
|
http://serfj.sourceforge.net - Simplest Ever REST Framework for Java
|
 |
Arpit Gadle
Ranch Hand
Joined: Dec 16, 2008
Posts: 69
|
|
Changing value in the resource bundle(Struts2) requires server restart?
Thanks for your reply...
What is the reason for restarting server?
|
 |
Eduardo Yañez Parareda
Ranch Hand
Joined: Oct 09, 2008
Posts: 92
|
|
|
Well, indeed you don't need to restart the server, but redeploy the webapp. In case you're application have read the properties bundle, you'll need to do it, in case it haven't read the bundle, I think it isn't necessary. But where do you have the bundle?, it isn't within a WAR file? if it is in the WAR, you'll always need to redeploy the webapp.
|
 |
Ankit Garg
Saloon Keeper
Joined: Aug 03, 2008
Posts: 9189
|
|
|
If you are just doing development/testing, then you can enable struts dev mode. That way Struts 2 will automatically reload your resource bundle files...
|
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
|
 |
 |
|
|
subject: Message Resource Bundle
|
|
|