A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Aug 27, 2005
Oct 26, 2005 21:46:00
I want to get the IP of each request and be able to determine differences in the "last" octet. (either the least/most significant, xxx.xxx.xxx.???). What objects should I use? How would determine the differences? tia.
Joined: Oct 20, 2004
Oct 28, 2005 05:02:00
You can use the ServletRequest object to get the remote IP address. Normally you would use the Http subclass of this though, HttpServletRequest. Does this help?
[ October 28, 2005: Message edited by: Steve McCann ]
I agree. Here's the link:
Post request doesnot support spanish characters in case of Weblogic + Solaris combination
need to create a link so a file on the network opens
should more than 1 script tags be avoided when possible and why?
Value Object v. Transfer Object
Extends vs. Implement?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014