cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <misste...@gmail.com>
Subject HElp with WSProxy generation
Date Tue, 05 Jul 2005 17:14:46 GMT
My application is built in tomcat. 
I am trying to export(PDF) a jsp page that contains a SESSIONID.
My cocoon and tomcat are on the same serverName and serverPort.
Below is the pipeline am using, it gives 404 error
and it keeps refering to the cocooon sessionID.

SO i get test.jsp?JSESSIONID=somecocoonsessionid


How do i get it pick up the other or right sessionID for the page
am requesting. Is there a way to set it in cocoon? 


Sorry, am still new to cocoon. i could not view the sample proxy pages
cos it kept giving errors and the files seem not to be in the
cocoon 2.1 distribution.  


<map:match pattern="rec.pdf">
<map:generate type="wsproxy" src="http://{request:serverName}/
{request:serverPort}/data/test.jsp?JSESSIONID={request:requestedSessionId}"/>

<map:transform src="style.xsl"/>
                <map:serialize type="fo2pdf"/>
            </map:match>

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message