Duh....I misunderstood and I apologize. You need a callback URL...lemme think on that a second.
-Dennis [EMAIL PROTECTED] 03/16/2006 11:21 AM Please respond to "Struts Users Mailing List" <user@struts.apache.org> To "Struts Users Mailing List" <user@struts.apache.org> cc Subject Re: [OT ]Re: obtaining server URL (or ip and port) from plugin Did you even _LOOK_ at the url that I sent the first time? Your slave starts and fires init() and makes a call to the master, the master will take the request and reconstruct the URL from the slave. Posted again JUST IN CASE: http://javaalmanac.com/egs/javax.servlet/GetReqUrl.html -Dennis Wojciech Ciesielski <[EMAIL PROTECTED]> 03/16/2006 11:14 AM Please respond to "Struts Users Mailing List" <user@struts.apache.org> To Struts Users Mailing List <user@struts.apache.org> cc Subject Re: [OT ]Re: obtaining server URL (or ip and port) from plugin [EMAIL PROTECTED] wrote: > Assuming all of the "slaves" know the id of the "master", then maybe you > have a RegisterServlet that's called by a slave processing servers during > their init? http://javaalmanac.com/egs/javax.servlet/GetReqUrl.html > > -Dennis > The problem is that slaves know master's URL but master also needs to know URL of slave server because it calls their methods (like http://myslave:8080/myProcessingApp/process.do) with tasks to process. And I can't find a good way to determine URL of slave servers :-/ Wojtek --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]