tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zsolt Koppany ...@intland.com>
Subject response.sendRedirect bug or feature
Date Thu, 07 Dec 2000 08:29:49 GMT
Hi,

I think it might have been changed since tomcat-3.2-beta-6 but now when
I execute a  response.sendRedirect(..) the rest of the jsp file is still
executed. How can I prevent that?

My example:

....
if (a > b)
{
    response.sendRedirect(url1);
   // Here I don't want to proceed this jsp file because url1 creates a
complete page on its own.
}

// Let's do somthing else!
...
response.sendRedirect(url2);


Zsolt
-- 
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017

Mime
View raw message