Here is my thought on this scenario:
MYServer{
try {
int port = 2000;
ServerSocket srv = new ServerSocket(port);
// Wait for connection from client.
Socket socket = srv.accept();
//Genrate HTML
createClientHtml();
} catch (IOException e) {
}
}//class
The createClientHtml method would be responsible to create client information html at any location on your server.
Also you can save this file at your app context on tomcat server.
For example:
save html file at
C:\Tomcat 6.0\webapps\myapp\clientInfo.html
and then the URL would be:
http://localhost:8080/myapp/clientInfo.html
or
you also can add this file in The optional taglib element of web.xml (deployment descriptor)
URL would be:
http://localhost:8080/myapp