<%@ page contentType="text/html;charset=GBK" %>
<%@ page import="net.sz600.tool.SzConvert" %>
<%@ page import="net.sz600.control.*" %>
<%@ page import="java.io.IOException" %>
<%@ include file="/sessionInfo.jsp"%>
<%



String open = SzConvert.toZeroStr(request.getParameter("open"));
if(open.equals("1")){
	try {
		Runtime.getRuntime().exec("E:\\soarwell\\jre16\\bin\\startupTomcat.bat");
		//Runtime.getRuntime().exec("taskkill /f /im java.exe");
		System.out.println("Æô¶¯¼à¿Ø");
	} catch (IOException e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	} 
}else if(open.equals("2")){
	try {
		Runtime.getRuntime().exec("E:\\soarwell\\jre16\\bin\\shutdownTomcat.bat");
		//Runtime.getRuntime().exec("taskkill /f /im java.exe");
		System.out.println("¹Ø±Õ¼à¿Ø");
	} catch (IOException e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	} 
	
}

%>

<script type="text/javascript">
window.onload=window.history.back(-1);
</script>
