cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wechner <michael.wech...@wyona.org>
Subject Re: AW: ServletProxyGenerator
Date Wed, 17 Jul 2002 04:36:45 GMT


Ewert, Sven wrote:

> is your generic-servlet a "single thread" servlet?






No, not that I know. Just a common "HelloWorld" servlet for testing
purposes:

public class HelloWorld extends HttpServlet {


(or how do I recognize a "single thread" servlet?)

Thanks

Michael


P.S.: Sorry for taking such a long time to answer, but we have
a DNS problem at our office and the emails bounce for whatever reason


> 
> cheerz
> 
> sven
> 
> -----Ursprüngliche Nachricht-----
> Von: Michael Wechner [mailto:michael.wechner@wyona.org]
> Gesendet: Dienstag, 16. Juli 2002 17:47
> An: cocoon-dev@xml.apache.org
> Cc: cocoon-users@xml.apache.org
> Betreff: ServletProxyGenerator
> 
> 
> Hi
> 
> I am currently working on a ServletProxyGenerator:
> 
>     +--------+       +------------------------+       +---------+
>     |        | ----> | Cocoon:                | ----> |         |
>     | Client |       | ServletProxyGenerator: |       | Servlet |
>     |        | <---- | HttpClient             | <---- |         |
>     +--------+       +------------------------+       +---------+
> 
> with the goal to connect some "legacy servlets" and being able to
> pipe them through Cocoon.
> 
> Actually the ServletProxyGenerator doesn't do a lot. It is just creating
> an HttpClient (org.apache.commons.http) and "forwarding" all parameters
> (POST) and
> the QueryString (GET) from the original client to the HttpClient being
> instanced within the ServletProxyGenerator.
> 
> It is working very fine so far. I now wanted to connect some servlets
> which need the session of the original client, which means I started to
> transfer all Cookies into the HttpClient.
> 
> The problem now is, that the servlet still doesn't find the session!
> 
> Does anyone have experience with these kind of stuff: Passing cookies
> from one client to another?
> 
> Thanks for your help and comments
> 
> Michael
> 
> P.S.: If the ServletProxyGenerator is of any use for the Cocoon
> community, then I would be happy to donate it.
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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>
> 
> ---------------------------------------------------------------------
> 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>
> 



---------------------------------------------------------------------
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