OK, that's pretty easy.
But, because I'm subclassing XMLRPCServlet and not Page, I don't have access to request(). So I have to create an awake function and set the response object from the transaction instance passed to awake().
It wasn't immediately clear to me that an awake function was called on instances of XMLRPCServlet. Thanks for the quick response.
--john
Chuck Esterbrook wrote:
On Thu, 12 May 2005 13:20:50 -0500, John Dickinson wrote:
Does the Webware framework provide any methods for finding the
client's IP address (or cannonical name)? Specifically, I'd like to
be able to get it from a subclass of XMLRPCServlet. I looked
through the WebKit (v 0.8.1) code, but I didn't find anything
there. But, I may have not seen it.
self.request().remoteAddress()
------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op=click _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss
______________________________________________________________________ This e-mail has been scanned by MCI Managed Email Content Service, using Skeptic(tm) technology powered by MessageLabs. For more information on MCI's Managed Email Content Service, visit http://www.mci.com. ______________________________________________________________________
------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss