At 10:24 13/12/99 +0100, you wrote:
>Well I think you should take a look at the Servlet tutorial from Sun,
>there are explanations
>on how to communicate between servlets in the same engine.
>Some engines support the so called servlet chaining
>which seemed to me like a pretty nice feature that works fine for
>situations like yours.....
Apache JServ doesn't support servlet chaining :( that would of made the job
*heaps* easier
>Anyway, nowadays you have got different ways to work the
>servlet-to-servlet communication out,
>depending on the JSDK you are using. In 2.0 they suggest for example to
>simply call the servlet via a URL request, or you can use the
>ServletContext which would look somehow like follows:
>myServletClass myServlet= (myServletClass)
> getServletConfig().getServletContext().getServlet("myServletName");
>In the following you can use all the public methods of myServletClass
>(sure :).
The problem is, Apache JSSI is rather complicated, and I'm not sure how to
use it - I did do a getServlet, and just to test i did a getInfo and it
worked. Thats the thing, i'm not sure how to communicate with JSSI properly.
Ideally, I could pass a string buffer to JSSI, and it would return a
buffer/stream I could pass onto the user. JSSI isn't well documented, I'm
afraid.
>Hope that helps
>
>Dieter
thanks Dieter.
.clint
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]