• <small id='ViYoJ'></small><noframes id='ViYoJ'>

  • <i id='ViYoJ'><tr id='ViYoJ'><dt id='ViYoJ'><q id='ViYoJ'><span id='ViYoJ'><b id='ViYoJ'><form id='ViYoJ'><ins id='ViYoJ'></ins><ul id='ViYoJ'></ul><sub id='ViYoJ'></sub></form><legend id='ViYoJ'></legend><bdo id='ViYoJ'><pre id='ViYoJ'><center id='ViYoJ'></center></pre></bdo></b><th id='ViYoJ'></th></span></q></dt></tr></i><div id='ViYoJ'><tfoot id='ViYoJ'></tfoot><dl id='ViYoJ'><fieldset id='ViYoJ'></fieldset></dl></div>
    <legend id='ViYoJ'><style id='ViYoJ'><dir id='ViYoJ'><q id='ViYoJ'></q></dir></style></legend>
      <bdo id='ViYoJ'></bdo><ul id='ViYoJ'></ul>
    1. <tfoot id='ViYoJ'></tfoot>

        如何从 IP 地址获知地理位置

        How to know Geographic location from an IP address(如何从 IP 地址获知地理位置)

            <tbody id='zBYrg'></tbody>

              <i id='zBYrg'><tr id='zBYrg'><dt id='zBYrg'><q id='zBYrg'><span id='zBYrg'><b id='zBYrg'><form id='zBYrg'><ins id='zBYrg'></ins><ul id='zBYrg'></ul><sub id='zBYrg'></sub></form><legend id='zBYrg'></legend><bdo id='zBYrg'><pre id='zBYrg'><center id='zBYrg'></center></pre></bdo></b><th id='zBYrg'></th></span></q></dt></tr></i><div id='zBYrg'><tfoot id='zBYrg'></tfoot><dl id='zBYrg'><fieldset id='zBYrg'></fieldset></dl></div>
            1. <legend id='zBYrg'><style id='zBYrg'><dir id='zBYrg'><q id='zBYrg'></q></dir></style></legend>
              <tfoot id='zBYrg'></tfoot>

              <small id='zBYrg'></small><noframes id='zBYrg'>

                  <bdo id='zBYrg'></bdo><ul id='zBYrg'></ul>
                  本文介绍了如何从 IP 地址获知地理位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我在我的 web 项目的 jsp/servlet 中创建了一个登录应用程序,我想知道访问我的登录页面的不同用户的地理位置.我怎么知道有人从哪里访问我的登录页面?例如:如果一个人从加拿大访问一个页面,那么一条记录将插入到我的数据库中,例如:IP:20.4.9.134 和位置:加拿大.

                  I have created a login application in jsp/servlet in my web project and I want to know about the geographic locations of different users those access my login page. How can I know that a person is accessing my login page from where? For example: If a person is accessing a page from Canada then a record will be inserted into my database such as : IP: 20.4.9.134 and location: Canada.

                  推荐答案

                  我用这个:

                  http://freegeoip.net/xml/122.169.8.137

                  或者

                  http://www.geoplugin.net/xml.gp?ip=xx.xx.xx.xx

                  简单的调用,它会给你一个包含你需要知道的一切的 xml

                  Easy call and it throws you an xml with everything you need to know

                  geoip 的新位置

                  这篇关于如何从 IP 地址获知地理位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)
                  How to make a report page direction to change to quot;rtlquot;?(如何使报表页面方向更改为“rtl?)
                  Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)
                  Is there any way to detect an RTL language in Java?(有没有办法在 Java 中检测 RTL 语言?)
                  How to load resource bundle messages from DB in Java?(如何在 Java 中从 DB 加载资源包消息?)
                  How do I change the default locale settings in Java to make them consistent?(如何更改 Java 中的默认语言环境设置以使其保持一致?)
                  <i id='Pteqa'><tr id='Pteqa'><dt id='Pteqa'><q id='Pteqa'><span id='Pteqa'><b id='Pteqa'><form id='Pteqa'><ins id='Pteqa'></ins><ul id='Pteqa'></ul><sub id='Pteqa'></sub></form><legend id='Pteqa'></legend><bdo id='Pteqa'><pre id='Pteqa'><center id='Pteqa'></center></pre></bdo></b><th id='Pteqa'></th></span></q></dt></tr></i><div id='Pteqa'><tfoot id='Pteqa'></tfoot><dl id='Pteqa'><fieldset id='Pteqa'></fieldset></dl></div>
                  <tfoot id='Pteqa'></tfoot>

                  <small id='Pteqa'></small><noframes id='Pteqa'>

                      <bdo id='Pteqa'></bdo><ul id='Pteqa'></ul>
                          <tbody id='Pteqa'></tbody>

                        1. <legend id='Pteqa'><style id='Pteqa'><dir id='Pteqa'><q id='Pteqa'></q></dir></style></legend>