I want to open a browser window to a url that needs authentication, from a Java program. In that Java program, I have already created an authenticated session, using HttpURLConnection and an Authenticator that prompts for the userid and password. To avoid double login, I want to use this authenticated session's id when opening the browser's window (append "JSessionid" + sessionid to url). This works fine on WebLogic 7.0, but doesn't work on Tomcat4.1.12/JBoss3.0.4 or Jetty/JBoss3.0.4. Any suggestions?