Okay, I'm using
Tomcat 4.0.4. I'm having a hard time deciding when to use response.sendRedirect() and when to use request.getRequestDispatcher(someURL).forward(request, response).
We used to use response.sendRedirect all over the place, but that started failing once we moved from iPlanet 4.1 to Tomcat. I need to redirect the user OFF our site to another site though, so the forward method of RequestDispatcher doesn't work since it has to be a relative path.
Anyone got any hard and fast rules here? response.sendRedirect only seems to work some of the time, and I cannot tell why.
Any advice would be awesome.
Thanks,
Jason