Hi Prakash,
In Tomcat 6 you can configure to restrict access based on the IP
address as below
Edit the below section of server.xml file in the conf folder with the
IP address of the end user in the deny field value
These valves can be configured at Engine, Host and Context level.
Thanks
Sudhir
Hi,
Is it possible to restrict access/filter based on the IP address of the end
user on a Servlet's mapping URL? If so, how? Please explain.
I am aware of the fact that this can be achieved in Tomcat 7. However, I am
interested to know how this could be achieved in Tomcat 6.
Regards,
Shreyas