소스 파일 최초 업로드

This commit is contained in:
ByeonJungHun
2024-04-05 10:31:45 +09:00
commit 718e6822af
682 changed files with 90848 additions and 0 deletions

45
tomcat/webapps/chl_mci.jsp Executable file
View File

@@ -0,0 +1,45 @@
<%@ page contentType="text/html;charset=euc-kr" %>
<%@ page import = "java.rmi.*,
javax.naming.*,
java.sql.*,
javax.sql.*,
java.io.*,
java.net.*,
java.util.*,
exem.chl.generatecode"
%>
<%
generatecode gencode = new generatecode();
gencode.make_junmun_code();
URL url = null;
URLConnection urlConnection = null;
String sUrl = System.getProperty("service.call.url");
//String sUrl = "http://10.10.52.10:8880/mci/mci_core.jsp"; //MCI call
String sUrl_call_sucess_flag = sUrl + " URL Call succeeded";
Thread.sleep(1);
try {
url = new URL(sUrl);
urlConnection = url.openConnection();
InputStream is = urlConnection.getInputStream();
} catch(Exception e) {
e.printStackTrace();
sUrl_call_sucess_flag = sUrl + " URL Call failed";
}
%>
<html>
<head>
</head>
<body>
<p>URL Call<br>[<%=sUrl_call_sucess_flag%>]</p>
<p>service.call.url<br>[<%=System.getProperty("service.call.url")%>]</p>
</body>
</html>