On 3/16/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Ok, here's another possibility... > > From the plug-in, launch a daemon thread (daemon just in case the server > has to go down before the thread is done, in which case it won't block the > shutdown). Have the thread sleep for some amount of time, 30 seconds > maybe, however long on average it takes your app to start up. > > Then, the thread fires off a request to some known URL within your app. > Just a simple GET using Commons HTTPClient sort of thing. Have that > request execute an Action. Within the Action you can get all the info you > need, so construct the URI and send it back to the thread.
Aehm... :-) If you would know the url you don't need the thread anymore because the url contains the protocol, the host, the port and the path. It's everything he needs :-) regards Leon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]