Hi, In development environment we have tomcat services running on our local machine. How can we know if any one accsses my app from his browser in java? like http://mymachine ort/my application from hi browser.
Http headers are set by client are used to inform server about software the client is using and how the client would prefer a server send back requested information. From a servlet, HTTP request headers can be accessed by calling several methods. In your case as you just wanna know who is accessing you application, you can implement