I have been doing a redirect to another servlet like this

res.sendRedirect("/blah/AnotherServlet");

but for some reason this is slow (especially with IE5) so I tried
doing this

AnotherServlet as = new AnotherServlet();
as.doGet(req,res);


this is much quicker! but is it legal? I don't want to set up chaining as I
only need it for this one place.

I know its not strictly how one should do this but I can't see a good
reason why I shouldn't.


Alan Boldock




------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:       [EMAIL PROTECTED]

Reply via email to