Possibly a bit off-topic, but I like to gather some opinions on preferences, modes of working, etc. when sending redirects to session timeouts and the like pls.

I have Tomcat behind Apache and my error/timeout pages are mostly .html as opposed to .jsp

AFAI understand it, response.sendRedirect() sends its response to the client first before re-directing the client to the new URL. And request.getRequestDispatcher().forward() does it all Tomcat's side before sending it back.

Consequently, I would expect request.getRequestDispatcher().forward() to be faster. But that's not the way it seems to happen to me.

What do others feel? What are your experiences? And generally how do you handle it pls?

Or is there simply some fundamental I have overlooked?

--
------------------------------------------------------------------------
Kind Regards

Kyle


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to