<%@ page contentType="text/html; charset=euc-kr"%>
<%@ page import="java.util.*" %>
<%@ page import="com.lgeds.jdf.*" %>
<html>
<head><title>시스템 Properties</title></head>
<body>
<h1>시스템 Properties:</h1>
<%
Properties ps = System.getProperties();
Enumeration enum = ps.propertyNames();
String key = "";
while (enum.hasMoreElements()) {
key = (String) enum.nextElement();
out.println(" "+key+": " + ps.getProperty(key) + "<br>");
}
Config conf = new Configuration();
%>
request.getRealPath(".") : <%=request.getRealPath(".")%><br>
conf.get("gov.mpb.pbf.db.mopb.url") : <%=conf.get("gov.mpb.pbf.db.mopb.url")%><br>
</body>
</html>
<%@ page import="java.util.*" %>
<%@ page import="com.lgeds.jdf.*" %>
<html>
<head><title>시스템 Properties</title></head>
<body>
<h1>시스템 Properties:</h1>
<%
Properties ps = System.getProperties();
Enumeration enum = ps.propertyNames();
String key = "";
while (enum.hasMoreElements()) {
key = (String) enum.nextElement();
out.println(" "+key+": " + ps.getProperty(key) + "<br>");
}
Config conf = new Configuration();
%>
request.getRealPath(".") : <%=request.getRealPath(".")%><br>
conf.get("gov.mpb.pbf.db.mopb.url") : <%=conf.get("gov.mpb.pbf.db.mopb.url")%><br>
</body>
</html>