i created a cocoon add on for exactly your scenario.
I do also access my webapp via jsp pages, that return XML
content and let cocoon do the presentation issues.
works fine and reasonably perormant so far.
I manage to pass session cookies through cocoon and
i'm happy with it.
we (Lajos and me) implemented a new protocol handler for this
purpose.
more info -> send me a note
hussayn
Nesto wrote:
Hi!
I have a problem with the session managing.
I'm trying to write a user interface of an existing system using cocoon
as publishing framework.
The system is composed of a set of JSPs that generates xml data from a
database.
So the pipelines in the sitemap I wrote are all of this type:
<map:match pattern="*.jsp">
<map:act type="request">
<map:parameter name="parameters" value="true"/>
<map:generate type="file"
src="http://remoteHost:8080/remoteApp/{../1}.jsp{requestQuery}"
mime-type="text/xml"/>
<map:transform src="stylesheets/{../1}.xsl"/>
<map:serialize type="xhtml"/>
</map:act>
</map:match>
The REMOTE application manage itself the user sessions, but i don't how
i have to modify my sitemap in order to let client and the remote
application exchange session informations.
In this moment the presence of Cocoon between client and Remote App
causes the loss of session information (accessing through IE directly, I
can see the correct xml data)
I read the documentation on Cocoon site, and on Wiki, and I found
something that looks interesting: the matchers of type cookie and
sessionstate.
But the problem is that I really haven't understand how I can use them.
Thanks for your answers!
Nesto
--
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenhöfer Allee 125
50935 Köln
Telefon: +49-221-56011-0
Fax: +49-221-56011-20
E-Mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>