Hello guys, need some help here,
i am working on a school project and i have to get the visitors ip on a
webpage... althought i know how to do it in php, asp, i CANT use these
languages, it has to be in JAVA... I got no idea, how.,. Can you help me
out?
Thanx in Advance!
JBK
|
|
0
|
|
|
|
Reply
|
jbk
|
2/20/2009 11:00:22 AM |
|
jbk@spotter.gr schreef:
> Hello guys, need some help here,
> i am working on a school project and i have to get the visitors ip on a
> webpage... althought i know how to do it in php, asp, i CANT use these
> languages, it has to be in JAVA... I got no idea, how.,. Can you help me
> out?
> Thanx in Advance!
> JBK
>
>
Maybe try a JAVA newsgroup?
Erwin Moller
--
"There are two ways of constructing a software design: One way is to
make it so simple that there are obviously no deficiencies, and the
other way is to make it so complicated that there are no obvious
deficiencies. The first method is far more difficult."
-- C.A.R. Hoare
|
|
0
|
|
|
|
Reply
|
Erwin
|
2/20/2009 1:36:16 PM
|
|
In article <gnm2g4$30p7$1@ulysses.noc.ntua.gr>, jbk@spotter.gr says...
> Hello guys, need some help here,
> i am working on a school project and i have to get the visitors ip on a
> webpage... althought i know how to do it in php, asp, i CANT use these
> languages, it has to be in JAVA... I got no idea, how.,. Can you help me
> out?
> Thanx in Advance!
> JBK
The method is going to depend on the server-side container. Are you
using tomcat, jboss, or what? As the server, that is. I doubt you
wrote an entire web server in java...
--
/~\ The ASCII
\ / Ribbon Campaign
X Against HTML
/ \ Email!
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
|
|
0
|
|
|
|
Reply
|
David
|
2/20/2009 2:46:30 PM
|
|
On Fri, 20 Feb 2009 14:36:16 +0100, Erwin Moller
<Since_humans_read_this_I_am_spammed_too_much@spamyourself.com> wrote:
>jbk@spotter.gr schreef:
>> Hello guys, need some help here,
>> i am working on a school project and i have to get the visitors ip on a
>> webpage... althought i know how to do it in php, asp, i CANT use these
>> languages, it has to be in JAVA... I got no idea, how.,. Can you help me
>> out?
>> Thanx in Advance!
>> JBK
>>
>>
>
>Maybe try a JAVA newsgroup?
Maybe he did?
|
|
0
|
|
|
|
Reply
|
Kryl
|
2/22/2009 5:32:31 AM
|
|
Kryl wrote:
> [...] Erwin Moller [...] wrote:
>> jbk@spotter.gr schreef:
>>> Hello guys, need some help here,
>>> i am working on a school project and i have to get the visitors ip on a
>>> webpage... althought i know how to do it in php, asp, i CANT use these
>>> languages, it has to be in JAVA... I got no idea, how.,. Can you help me
>>> out?
>>> Thanx in Advance!
>>> [...]
>>
>> Maybe try a JAVA newsgroup?
>
> Maybe he did?
He tried and failed, cluelessly crossposting to comp.lang.javascript, the
dead comp.lang.java.javascript, and comp.lang.java which is now a newsgroup
hierarchy, not a newsgroup. (Google Groups is a newsgroup *archive*, and if
you still see the latter two newsgroups on your news server, you should
notify its admin or try a better-maintained server instead.)
Java != JavaScript
In any case, trying to get others to do one's homework is a stupid idea.
<http://www.catb.org/~esr/faqs/smart-questions.html>
PointedEars
|
|
0
|
|
|
|
Reply
|
Thomas
|
2/22/2009 11:15:54 AM
|
|
Le 2/22/09 12:15 PM, Thomas 'PointedEars' Lahn a écrit :
>>> jbk@spotter.gr schreef:
>>>> Hello guys, need some help here,
>>>> i am working on a school project and i have to get the visitors ip on a
>>>> webpage... althought i know how to do it in php, asp, i CANT use these
>>>> languages, it has to be in JAVA... I got no idea, how.,. Can you help me
>
> Java != JavaScript
>
> In any case, trying to get others to do one's homework is a stupid idea.
While the answer in javascript (+ Java) is known by Google :
<http://www.google.fr/search?q=javascript+adresse+ip>
--
sm
|
|
0
|
|
|
|
Reply
|
SAM
|
2/23/2009 2:20:36 AM
|
|
|
5 Replies
254 Views
(page loaded in 0.068 seconds)
Similiar Articles: IP address lookup with javascript? - comp.lang.javascript ...... to take a host name, and get its IP address, like take www.yahoo.com and get xxx.yyy.zzz.www, on a web page ... This script displays the user's IP address in the title ... Javascript search engine - comp.lang.javascriptJSON to a Table Grid in HTML - comp.lang.javascript Javascript search engine - comp.lang.javascript [NETBEANS] How to display query result in a grid - comp.lang.java ... DCPS v2.7 problem with HP P2055dn printer - comp.os.vms... ifelse end exch ( Product Name: ") show show (") show 50 710 ... printer with a front panel would make you use the printer's web page to change the IP address. access control and pool servers - comp.protocols.time.ntp ...> DHCP client configuration, and every time you get a new IP address you will > also ... problem I can imagine is that a server will give me the K'o'D, but ntpq would show ... nptq -p slowness - comp.protocols.time.ntpHello everybody, With ntp 4.2.4, I strangely get a very slow display of the ntp -p ... It's a text string, not an IP address and should not be treated as one. How to inform web site visitor that Sun Java is required? - comp ...Re: How to inform web site visitor that ... installations of IE) that will display the result as a 'big grey square' on the web page. ... is required to view this email address ... Why do I have "host name lookup failure"? - comp.mail.sendmail ...( IP address in square brackets ) -- [pl>en Andrew] Andrzej ... from withing the home LAN as the router will only display a login page for the router and not the web page ... ntp orphan mode without manycast or multicast or broadcast ...-- E-Mail Sent to this address <BlackList ... How can I get > from New York to SF?" http://www.germany-tourism.co.uk/images/content/02 ... Should not 10.49.88.6 show 127.0.0.1 ... remove any commas/data from mysql? - comp.databases.mysql ...> > >>Is this on a web page on the WWW? =A0What will you do when your > >>visitor has JavaScript disabled? ... Remove the "x" from my email address Jerry ... > > Any ... Multiple Auto Expire Script - comp.lang.javascript... is best viewed with Browser X' label on a Web page ... Don't screw with it until you have to display it ... He advised me ... ip dhcp excluded-address 10.10.10.1! ip dhcp pool ... JavaScript Visitor IP Address and Host NameTo get DNS information on an IP address, such as the host name ... simple JavaScript code to display visitors' IP addresses and host names (copy and paste to your Web page): GetIP :: Detecting Your IP Address ::You may copy and paste this code into your web page to have this image dynamically verify, match and display each one of Your Visitor's IP Address to their Country Flag 7/25/2012 7:57:19 PM
|