Hi Shailesh,
 I am also a starter in Struts, however I will try. I see your messages on
post for some time and no reply. I thought that some experiencd guys would
reply but...!!
Its noted that there is hardly any reply for posts by freshers.

Try extending the action servlet, and write a method that will call
'super.initInternal()'. (This is a protected method)
Now call this method of ur extended Action Servlet when you need to reload
the Message Resources Bundle, somehow - say by writing an admin action!!
I don't know if thers is still a better method, but atleast if this mail can
spark off a few of our seniour friends, that will enough

TIP : Try going through the source code of Struts ActionServlet.

Cheers,
Thomas Joseph

----- Original Message -----
From: "Shailesh Barde" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: 24 October, 2005 2:36 PM
Subject: How to Modify Resource Bundle While your application is Running
withou restarting Server?


Friends!
Can any body tell me How to Modify Resource Bundle While your application is
Running withou restarting Server?

Its a fact Well Known Fact that ,When your application first access a
resource bundle,struts loads the bundle into Memory & Caches it so that it
can be quickly accessed again.Because of this,if you modify your Resource
Bundles while your application is running,you will have to restart server
before you see the changes.

However i need to change the resource Bundle without starting the server as
it is a need of the application.

Please guide to solve this problem?





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to