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

cheerz

sven

-----Ursprüngliche Nachricht-----
Von: Michael Wechner [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 16. Juli 2002 17:47
An: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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:     <[EMAIL PROTECTED]>
For additional commands, 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]>

Reply via email to