You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Merico Raffaele <ra...@less.ch> on 2004/08/10 12:33:24 UTC

Session problem

Hi

I'm working with tomcat 5.0.27 and cocoon 2.1.5.1.
I'm using a servlet that generates XML data.
When I call this servlet direct with the browser
(http://wsmer:8080/ve2000ic/v2?action=callSGeneric&veAction=redirect&output=
.xml) it produce the expected XML data.

When I call this servlet within a pipline using the following URL
http://wsmer:8080/ve2000ic/appl/VersicherterSuchen.html the servlet has
always an empty session and therefore sends back the login page.
<map:match pattern="**VersicherterSuchen.html">
<map:generate
src="http://wsmer:8080/ve2000ic/v2?action=callSGeneric&amp;veAction=redirect
&amp;output=.xml"/>
<map:transform type="xslt"
src="xsl/xml2html/appl/VersicherterSuchen/VersicherterSuchen.xslt">
<map:parameter name="global.host" value="{request:concat(scheme, '://',
serverName, ':', serverPort)}"/>
<map:parameter name="global.contextPath" value="/ve2000ic/appl"/>
<map:parameter name="global.lang" value="de"/>
</map:transform>
<map:serialize type="xhtml"/>
</map:match> 

Why does the servlet gets an empty session?
For your support many thanks in advance.

Raffaele Merico
LESS Informatik AG
Böhnirainstrasse 14
CH-8800 Thalwil

Tel: +41 1 723 12 22
Dir: +41 1 723 92 45
Fax: +41 1 723 12 23

mailto:merico@less.ch

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