Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing a servlet's input stream from an Applet



Jim Solderitsch <email@hidden> wrote:

>I believe I have found the fundamental source of this issue. The
>servlet I am invoking from the applet assumes that there is session
>state available that tells it what database connection to use to get
>the information. BUT, the Java plugin in OS X does NOT access state
>contained in httpsessions. This is issue with Radar #2903948 discussed
>in the 1.4.1 release notes (it pays to go back to prime information
>sources occasionally!).

Wicked problem. Congratulations on finding it.


>What about other OS/Java combinations? What about Mozilla on Linux for
>example.

URL rewriting requires less from the client. If you can, you could make an
adaptable solution that tries first with cookies and then escalates to
URL-rewriting. Probably more complex that way, though, and if you have to
do URL-rewriting anyway, I don't see that anything is gained by relying on
cookies for anything.

I normally browse with cookies disabled, and only when I encounter a
problem on a web-site to I engage cookies. I then usually note that as a
cookies-required site, if I intend to return.

-- GG
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.