We used to stream objects back to turbine from applets, but no longer need
applets. What we did was have the screen generate the html containing the
applet tags. We could then pass the session id and the url to the action
into this applet as parameters. Our applet would then either set the cookie
on the connection back to turbine, or just put it in the URL as a query
parameter when making the connection back to turbine. One major drawback is
that the code was specific to the servlet container ( jserv in our case
since we used JServSessionId= ) and the session id was embedded in the html.
jb
-----------------------------------------------------------------
Jeffrey D. Brekke Information Systems
[EMAIL PROTECTED] Quad/Graphics
http://www.qg.com 555 South 108th Street
414-566-3302 West Allis, WI 53214-1145 USA
-----------------------------------------------------------------
> -----Original Message-----
> From: Kevin Kress [mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 22, 2000 10:11 AM
> To: Turbine
> Subject: Re: question about actions or sharing sessions
>
>
> 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
>
>
> Rafal Krzewski wrote:
> >
> > Kevin Kress wrote:
> > > This is my prefered method of doing things, but everytime
> I try and have
> > > my applet connect to the action I get a error message
> > > saying that "Ctx( /omc ): 400 R( /omc + /servlet/omc +
> > > /action/ActStream) HTTP method PUT is not supported by this URL"
> > >
> > > Do I have to change a property or something to allow PUT
> HTTP requests?
> >
> > Whoa! I think HTTP PUT is pretty fancy & non-standard
> stuff... What are
> > you using it for?
> >
> > Rafal
> >
> > --
> > Rafal Krzewski
> > Senior Internet Developer
> > mailto:[EMAIL PROTECTED]
> > +48 22 8534830 http://e-point.pl
> >
> > ------------------------------------------------------------
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Search:
> <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> > Problems?: [EMAIL PROTECTED]
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
>
-----------------------------------------------------------------------
This message has been scanned for viruses with Trend Micro's Interscan VirusWall.
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]