Cocoon version: 2.0.4
Tomcat 4.1.27
JVM: 1.3.1
OS: AIX 5.1

Hi

We are trying to incorporate xml emitted from a servlet into an aggregation in a pipeline.

i.e
<map:match pattern="mypage">
   ~
   ~
   ~

<map:act type="request">
 <map:parameter name="parameters" value="true"/>

   <map:generate src="http://myserver/myservlet/servlet{requestQuery}"/>
   ~
   ~
   ~
</map:act>
~
~
</map:match>

We have (partially) managed to do this, but unfortunately the java servlet we are calling uses the session to store and retrieve variables (get- and setAttribute) in response to the various parameters that are sent to it in the URI. Between each visit to the servlet, the servlet cannot maintain state so the returned XML is not correct.

I would greatly appreciate it if someone could (in layman's terms please, as that is what I am!) explain:

1) Why this happens
2) Any way around this, or is a re-write of the servlet/solution in order?

Thanks in advance

Duncan


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

Reply via email to