Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

changing the Application properties dynamically

 
gim priy
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4012
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic