paradox814 1 Posting Whiz

my question applies to servlets, but i am hoping it is the same for jsp, how do I stop a page from continuing, sort of like
System.exit(0);

if I do this in tomcat, it will cause tomcat to shutdown (as expected), is there a workaround for this?