• Post Reply Bookmark Topic Watch Topic
  • New Topic

Retrieve mac address in jsp

 
Lakshmikandhan Piramanayagam
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does any one know how to retrieve mac address in jsp?
 
Tim Moores
Saloon Keeper
Posts: 3266
55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The client's MAC address? No. Even the server's MAC address would only be accessible via JNI. Why do you want to do this?
 
Rob Spoor
Sheriff
Posts: 20822
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Moores wrote:Even the server's MAC address would only be accessible via JNI.

Actually, you can use NetworkInterface for that. However, that still doesn't return the client's MAC address. That would be possible with a signed applet.

But I agree, why is the MAC address needed in the first place?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!