File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes Firefox doesn't send JSESSIONID in GET applet-jar request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Firefox doesn Watch "Firefox doesn New topic
Author

Firefox doesn't send JSESSIONID in GET applet-jar request

Barbara Burkel
Greenhorn

Joined: May 28, 2010
Posts: 1
Hi,

I have a simple jsf page with nothing but a helloWorld-applet included (downloaded from Sun).
The page and the applet are in a secured area on the tomcat server. They are actually in the same
directory so that codebase and documentbase are the same.

I understand from the Java Plug-in documentation (How Cookie Support Works in Java Plug-in)
that the plugin is supposed to check the browser's cookie cache and determine whether sending a cookie back to the server is required or not. If
yes, it attaches the cookie to the request that fetches the applet.

This works perfectly fine in IE8 on Win 7 (x64) with Java Plug-in 1.6.0_18, but it doesn't work in Firefox 3.6.3 on the same machine using
the same java plug-in.

I am not sure about where the root cause might be, i.e. why Firefox refuses to pick up the browser's session cookie and attach it to the GET request when
fetching the applet jar file. Is it something Windows 7 specific or is it the combination of Win7 on x64 with SDK for i586?

And I tried the <applet> tag and I also tried the newer JNLP approach with the same results.

Here is my jsf page:


and here is the request header captured with tcpmon from Firefox 3.6.3 without JSESSIONID:




and here is the request header from Firefox 3.0.5 from another machine:


The problem is if it doesn't send the JSESSIONID the request gets redirected to the login page and that's the end of that.

Can someone shed some light on that? Is someone experiencing the same problem?


thanks Barbara
 
jQuery in Action, 2nd edition
 
subject: Firefox doesn't send JSESSIONID in GET applet-jar request
 
Similar Threads
Component ID frm1_window viewid has already been found in the view
HTTP response code: 403 on http://translate.google.com/translate_tts?q=hello%20world
problem setting custom header in response
Javascript with JSF(.xhtml)
Some (not all!) UTF8 Characters render as "?" only from UNIX server -- works perfectly local (Win)..