Re: Model 2 + difference between forward() vs. setUrl() vs. sendRedirect()?

2000-03-28 Thread Kevin Duffey
Hi, I would say use option (a) all the time. By using sendRedirect you make a roundtrip to the browser and back to the server, which is more than 2x slower. On a performance needed site, you can get a nice boost by just forwarding (option a) to the resource on the server while your still there. S

Model 2 + difference between forward() vs. setUrl() vs. sendRedirect()?

2000-03-28 Thread Mike LaBudde
I'm wondering about the difference between (a) requestDispatcher.forward() vs. (b) setUrl(myNextUrl) vs. (c) sendRedirect(myNextUrl) ?? When I tried option (a), then the url showed the xxx.do that was invoked (which is fine), the correct jsp page was invoked, however, none of the graphic images