on 12/22/2000 8:11 AM, "Kevin Kress" <[EMAIL PROTECTED]> wrote:

> I need to do Applet to Servlet connumication, RMI is to heavy so I am
> streaming objects back and forth via HTTP, thus the applet uses PUT to
> stream to the servlet.  Works well as a servlet, but I guess not as an
> action, oh well.   THe problem I am having is that the servlet is not
> getting access to the session, I am trying to track down where/why that
> is, its not tomcat, and its not servlet Context issues, current theory
> is that HttpUrlConnection isn't passing the cookies properly.
> 
> Anyone ever attempted something like this before that run into anything
> similar?
> (FYI: tdk1.1a9, JDK1.3 all around, including plugin in NS 4.76)
> 
> Kevin

There is no reason why you have to use PUT for this.

You have two options:

Use XML-RPC or SOAP as the communication layer
Use standard HTTP GET/POST methods.

HttpUrlConnection does NOT pass cookies correctly (among other things). It
is the worst piece of shit piece of code I have ever tried to use. Whoever
wrote that class should be shot. :-)


I wrote a transparent HTTP proxy called Noodle which uses another OSS
product that I found on the net called HTTPClient...

<http://noodle.tigris.org/>

-jon



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to