I was wondering if anyone has an example of a servlet which uses ssl? I got this one from "more servlets and java server pages", but when I execute it my browser hangs for a while then gets redirected to an error page. I am using the last version of IE and Mozilla, and my web server is tomcat. Do I need to make any additional configurations to tomcat? If possible I would like to handle this programmatically.