Hi All,

I'm baffled, somewhat new to Applet/Servlet work, and in need of some assistance.

My app has an applet front end and a servlet back end. The user first contacts the servlet, which writes an HTTP response back as an APPLET tag, passing the JSESSIONID as a PARAM tag for the applet. In the applet, I rewrite the server's URL and append ";jsessionid=[the session id]" before using the URL to communicate via a URLConnection, so that the server knows that this is still the same session.

This works fine as long as everyone is on one side or the other of the firewall, but when I put the server behind the firewall, trying to talk to it from outside the firewall fails (HTTP error 500, i.e. the server messed up.) Upon debugging, I noticed that the requestedSessionID is null, where it normally picks up the session id I supply in the APPLET tag.

My network keepers assure me that the firewall is not blocking cookies, there are no proxies or NATs or anything in the way, but I'm losing the jsessionid and as a result the server thinks that the reply from the applet is a request for a new session...which kills the app. Argh.

Does anyone have any ideas as to how I can figure out what is mangling my applet's requests across the firewall? Any information would be very much appreciated!