• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Message Resource Bundle

 
Arpit Gadle
Ranch Hand
Posts: 69
Linux MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,
Changing value in the resource bundle(Struts2) requires server restart?

Thanks
 
Eduardo Yañez Parareda
Ranch Hand
Posts: 93
IntelliJ IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes
 
Arpit Gadle
Ranch Hand
Posts: 69
Linux MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 93
IntelliJ IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 9528
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic