Hehe, don't feel bad... I was *this* close to replying with pretty much the same thing you did, I realized I would have been wrong just before I clicked Send :)
-- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! On Thu, March 16, 2006 11:23 am, [EMAIL PROTECTED] said: > 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] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]