Alex Moffat wrote:
> Many thanks for your response, most useful. I've just got one follow up
> question below...
>
> [snip]
>
> What do you mean by "redirect approach", modifications to mod_jserv to do
> internal redirects, or just using the current redirect methods?
>
I was envisioning using the sendRedirect() method to essentially "forward"
responsibility for the remainder of the request processing (including
generating the HTML to be returned to the caller) to the second servlet. The
second servlet would retrieve the information stashed in the session by the
first servlet, rather than needing to reread the message body. This approach
works in both 2.0 and 2.1 compliant servlet engines, because session support
already exists in 2.0. However, when you deploy on a 2.1 compliant servlet
engine, you will probably want to use RequestDispatcher.forward() instead,
because it will generally be faster (it will happen inside the server,
transparent to the client, instead of requiring a second HTTP request from the
client to the "second" servlet).
Craig McClanahan
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://www.working-dogs.com/>
Problems?: [EMAIL PROTECTED]