页:
[1]
|
如何中断jsp程序的运行?
比如说有如下一段程序:
String DomainName=request.getParameter("DomainName");
if(ns1.equals("")) ns1="dns001.yeahi.net";
if(ns1.equals("")) ns2="dns002.yeahi.net";
Command cmd = null;
EppResponse rsp = null;
Response myrsp=null;
cmd = new Command();
mysqlConnection = new mysqlConnect();
mysqlCommand = mysqlConnection.Connect("localhost","yeahi_agent","yeahi_agent2003","yeahi_agent");
如何在cmd = new Command();这一行中断程序的运行,也就是下面的程序不再运行到了,就好比PHP中的exit功能一样呀!
请问是哪一种语句能达到这种功能! |
Powered by Discuz! Archiver 6.1.0
© 2001-2006 Comsenz Inc.
Processed in 0.005786 second(s), 2 queries |