Cookie support would be to get all the cookies from the browser and add them to the request to the server that WebPagePortlet is calling.
When the server (the one with the web page) responds to jetspeed's request, WebPagePortlet should example the response, get any cookies and either store then in the HttpSession of the user, or add them as cookies to the users browser. It's sort of like a reverse HTTP proxy, but very necessary to do all of this if you want to frontend real applications with a portal. Portal User -> invokes WebPagePortlet (for a banking app) -> WebPagePortlet get an HTTPConnection to the banking app, sets cookies, does post or get, or whatever is called for -> Banking application responds (to jetspeed WebPagePortlet), sending cookies -> WebPagePortlet examples bank application response object, gets cookies, add cookies to response going back to jetspeed user from bank application response object. At 11:40 PM 1/30/2002 -0500, you wrote: >Phillip, >Please define "cookie support". > >Paul Spencer > >Phillip Rhodes wrote: > >>A lot of work would have to be to get WebPagePortlet to work well. >>Namely adding cookie support. >>Although I could do this, I wonder if this is the best approach for >>integrating java servlet based applications into portal... >>Is there anyone working on WebPagePortlet to make it be able to do the >>cookies? >> >>At 04:39 PM 1/30/2002 -0800, you wrote: >> >>>Try the "WebPagePortlet" -- see the example in the portlet registry >>>"demo-portlets", and the portlet named: "JavaWeb" >>> >>>For the simplest solution, I recommend running it in another webapp, since >>>you will most likely have conflicting versions of turbine or velocity jars. >>> >>> > -----Original Message----- >>> > From: Phillip Rhodes [mailto:[EMAIL PROTECTED]] >>> > Sent: Wednesday, January 30, 2002 2:40 PM >>> > To: [EMAIL PROTECTED] >>> > Subject: conversion of turbine app to portlet? >>> > >>> > >>> > Hi, >>> > >>> > I wrote a application in Turbine using the TDK (2.1) with JSP's >>> > >>> > Can someone point me how I may create a portlet for this? In the >>> > AbstractPortlet, I have to implement the getContent (RunData runData) >>> > method. Should I write a reverse http listener here that talks >>> > to the web >>> > front end of my application, or is there something lower that I should be >>> > communicating with? >>> > >>> > I am a little confused. Would you recommend that this application reside >>> > in the same JVM as the portal, or should be in a different tomcat >>> > instance, >>> > or maybe even a different web application (in the servlet container) >>> > >>> > Thanks, >>> > Phillip >>> > >>> > >>> > _________________________________________________________ >>> > Do You Yahoo!? >>> > Get your free @yahoo.com address at http://mail.yahoo.com >>> > >>> > >>> > -- >>> > To unsubscribe, e-mail: >>> > <mailto:[EMAIL PROTECTED]> >>> > For additional commands, e-mail: >>> > <mailto:[EMAIL PROTECTED]> >>> > >>> > >>> >>> >>> >>>-- >>>To unsubscribe, e-mail: >>><mailto:[EMAIL PROTECTED]> >>>For additional commands, e-mail: >>><mailto:[EMAIL PROTECTED]> >> >> >>_________________________________________________________ >>Do You Yahoo!? >>Get your free @yahoo.com address at http://mail.yahoo.com >> >> >>-- >>To unsubscribe, e-mail: >><mailto:[EMAIL PROTECTED]> >>For additional commands, e-mail: >><mailto:[EMAIL PROTECTED]> > > > >-- >To unsubscribe, >e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>