Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    hostname-ip client

    Ciao,
    ho bisogno di sapere hostname/ip del client che accede
    ad un determinata pagina JSP (il motore è OC4J).

    Come posso fare a sapere ciò?

    Grazie
    LeLe

  2. #2
    Puoi utilizzare:

    codice:
    String ip = request.getRemoteAddr();
    String host = request.getRemoteHost();
    Ciao,

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.