I really cant move all my application into cocoon.
All I needed was to export the jsp pages to pdf. Am kinda
getting frustrated with it so I guess I will find other 
ways to transform my pages since
cocoon cant.

Doesnt make sense. Cocoon directory is in tomcat/webapps!!! It
transforms all other pages without parameters or sessionID's. Am 
probably doing it all wrong. :(

anyway, thanks for the help.

On 7/22/05, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> 
> So your problem seems to be that tomcat creates 2 sessions, one for your web
> app (the JSPs) and one for cocoon. 
> 
> Seems there's no simple way to share data among two web apps, googling
> around brought me to this article: 
> http://www.informit.com/articles/article.asp?p=26138&seqNum=7
> 
> No idea if this helps you. 
> 
> Another alternative would be to try to put the JSPs into the cocoon webapp.
> Then they would probably share the same Session. 
> 
> By the way, shouldn't it be 
> 
> src="http://{request:serverName}:{request:serverPort}/data/test.jsp?>
> {request:requestSessionId}" 
> 
> (with a ":") rather than 
> 
> src="http://{request:serverName}/{request:serverPort}/data/test.jsp?{request:requestSessionId}";
> 
> Hope this helps. 
> 
> Regards 
> Holger 
> 
> [EMAIL PROTECTED]
> schrieb am 21.07.2005 16:36:26:
> 
> 
> > For example, I have the following pipeline
> > 
> > <map:match pattern="*.pdf">
> > <map:generate type="wsproxy"
> >
> src="http://{request:serverName}/{request:serverPort}/data/test.jsp?
> > {request:requestSessionId}">
> >          <map:parameter name="requestSessionID"
> > value="{request:requestedSessionId}"/>
> > </map:generate>
> > <map:transform src="xslfo.xsl"/>
> >                 <map:serialize type="fo2pdf"/>
> >             </map:match>
> >     </map:pipeline>
> > it gives a blank page cos its either not picking up the session
> > parameters or its using the
> > Cocoon sessionID.
> > my Cocoon app is in /tomcat/webapps/cocoon so its started with Tomcat
> > but my request for pages with
> > parameters or sessionId's dont work. 
> > 
> > 
> > On 7/21/05, [EMAIL PROTECTED]
> > <[EMAIL PROTECTED]> wrote:
> > > 
> > > > I have Cocoon 2.1, Tomcat 5.0 and Httpd 2.0.
> > > > Everything works independently. 
> > > 
> > > Do you start Cocoon independently or is it started with your tomcat
> > > container? 
> > > If you want tomcat to handle the requests, the latter should be the
> case. 
> > > 
> > > > I have pages in Tomcat that have JsessionID, 
> > > > but when using Cocoon to transform these pages
> > > > the request goes through Cocoon. 
> > > 
> > > What exactly do you mean? Can you explain a little bit more what you are
> > > trying to do? 
> > > 
> > > Holger
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to