Hi Peter, I think this kind of solution, the user restarting the app, is, at least, a little weird, but if you really want to do this, I thought this:
Using tomcat as a container example: - Make the server manager app to be accessed by the users. - Give the permission to the user access the manager application. (For example, if you use LDAP as your user database, configure the realm on server.xml to use your LDAP database, and put the user on manager group. Or another group that can use the manager application) - Make a link on your application pointing to the restart URL of your container manager application. Like http://www.yourhost.com/manager/html/reload?path=/yourapp The problem is that the user will be redirected to the container manager restart confirmation page... you can find a way to bring him back to your application, sending a request to the restart URL, and then redirecting to your app, using javascript, or something like that, but this I don't know how to do.. I can't think another solution because the container is the one who manage the applications, deploying, restarting and so on... []'s Mael On 8/16/06, Peter Dawn <[EMAIL PROTECTED]> wrote:
ok. all i want to do is, i want to provide the user to be able to modify the text displayed on my web page. so in order to do that they would need to modify the info within the properties file and re-start the web app. now the question is how do we do this. any ideas. and i want to do everything from within the web app and nothing external to it (to the least possible extent) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]