Yes you are right that ServletRequest.getRemoteAddr will return the address of proxy server in your case , But if you want that your servlet must be accessed from some fix client IP then you can do something else for that like You can access the ip address in the jave script and pass it to servlet in header variable while calling the servlet In servlet access the header variable and check it if it is valid client. Rishi
An IDE is no substitute for an Intelligent Developer.
Joined: Jul 18, 2002
Thanks for the information. I think we may have to base the licensing on the SessionId (stored as a JSESSIONID cookie client side, and returned by HttpServletRequest.getRequestedSessionId). Cheers, Neil
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com