How can I stop JSP script processing using some command in this script?
out.close() causes no other output to browser, but the other Java code in scriptlets continues.

Govind Seshadri


Answer by Ramakrishnan Venkataraman
You can have something like:

     out.flush(); out.close();
     completed = true;
     
     if (completed)
        return;
     else
     {
        System.out.println ("Test2"); 
        // other stuff 
     }
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact