cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SAXESS - Hussayn Dabbous <dabb...@saxess.com>
Subject Re: How to call a servlet in the generator part of the cocoon pipeline
Date Tue, 17 Dec 2002 08:27:00 GMT
hy,

Concerning call of a servlet, that depends, where it is
running. If it's in another webapp, simply call the
file generator, e.g.:

<map:match pattern="*testme">
   <map:generate type="file"
      src="http://www.yoursite.com/pathTotheServlet"/>
   <map:serialize type="xml"/>
</map:match>

If it is in the same webapp, you have to integrate
your servlet first into the cocoon app -> look into
http://outerthought.net/wiki/Wiki.jsp. I think, there
are some howtos about that...

session preserving:

As i learned from the developers, sessionm preserving is
currently not available in any means.

But because i need it too ->
I am talking about this with some of the cocoon
developers. We are going to solve this problem
hopefully during this week (i can't promise though,
because it depends on time schedule).

The results will be donated back to cocoon. So maybe you
can profit from these results. I will send an email to
this list, when we are ready.

regards, hussayn


loganathan wrote:
> Hi
>            i have problem calling serlet in the generator part of a 
> cocoon pipeline.Give me an example program how it is working.
> How do i maintain session between requests.
>  
> with regards
> R.Loganathan.


---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message