File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes changing the Application properties dynamically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "changing the Application properties dynamically " Watch "changing the Application properties dynamically " New topic
Author

changing the Application properties dynamically

gim priy
Greenhorn

Joined: Oct 13, 2005
Posts: 5
Hi team,

I want to load the values of the Struts "ApplicationResources.properties" dynamically(with out restartting the server).Is there any way to do that ?

this is a part of my jsp


<tr>
<td class="textdefault tdwidth6 textnowrap"><label for="username"><bean:message key="smlogin.username"/></label></td>
<td colspan="2">

<input type="text" name="USER" size="32" maxlength="255" style="margin-left: 1px">
</td>
</tr>

In ApplicationResources.properties

smlogin.username=User name:


Thx
gimhan

[ EFH: Added HTML escapes ]
[ June 07, 2006: Message edited by: Ernest Friedman-Hill ]
Pauline McNamara
Sheriff

Joined: Jan 19, 2001
Posts: 4012
    
    6
Hi gimhan, welcome to Javaranch!

Your question would be better placed in a different forum (this one is for questions about javaranch, not about java). Hang on while we move your post to a forum where you're more likely to get the help you're looking for.

A tip for the future: you might want to use the special "code" tags around your code so that we can see the code itself instead of seeing how it is rendered.

Cheers,
Pauline
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: changing the Application properties dynamically