Pure
Java (and thus JSP) can't do this. Either you need to use JNI to access system calls, or use Runtime.exec to run some utility that can do this.
But JSPs run on a server, where the MAC address is always the same - how about looking it up once manually, and storing it somewhere in the web app?