Ciao a tutti, come posso prelevare un host oppure il nome del pc in java, in jsp utilizzavo questo comando String host = request.getRemoteHost();

mentre in java?