Th ebelow code is part of an applet. I'm trying to use the method below to 1. connect to the url 2. re-use an existing session 3. and let the response be displayed in the parent window that launched this applet window. I'm fine with step3 to use showDocument. I wanted to know how to achieve steps 1 and 2. I'm new to applet programming. Please Help.