• Post Reply Bookmark Topic Watch Topic
  • New Topic

Computer/User name

 
Tys Seyffert
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
is there a way to get the user/computer name of the machine that the servlet is talking to?
 
Varun Khanna
Ranch Hand
Posts: 1400
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ServletRequest specification lists one method for getting host name (provided there isn't any proxy in between)
Method: getRemoteHost() Returns the fully qualified name of the client or the last proxy that sent the request.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!