<?xml version='1.0' encoding='UTF-8'?>
<weblogic-web-app xmlns="http:⁄⁄xmlns.oracle.com⁄weblogic⁄weblogic-web-app"
	xmlns:xsi="http:⁄⁄www.w3.org⁄2001⁄XMLSchema-instance"
	xsi:schemaLocation="http:⁄⁄xmlns.oracle.com⁄weblogic⁄weblogic-web-app http:⁄⁄xmlns.oracle.com⁄weblogic⁄weblogic-web-app⁄1.0⁄weblogic-web-app.xsd">
	<session-descriptor>
		<timeout-secs>3600<⁄timeout-secs>
		<invalidation-interval-secs>60<⁄invalidation-interval-secs>
		<persistent-store-type>memory<⁄persistent-store-type>
		<url-rewriting-enabled>true<⁄url-rewriting-enabled>
	<⁄session-descriptor>
	<jsp-descriptor>
		<page-check-seconds>5<⁄page-check-seconds>
		<precompile>false<⁄precompile>
		<keepgenerated>false<⁄keepgenerated>
		<encoding>utf-8<⁄encoding>
	<⁄jsp-descriptor>
	<charset-params>
		<input-charset>
			<resource-path>⁄*<⁄resource-path>
			<java-charset-name>utf-8<⁄java-charset-name>
		<⁄input-charset>
	<⁄charset-params>


	<container-descriptor>
		<show-archived-real-path-enabled>true<⁄show-archived-real-path-enabled>
	<⁄container-descriptor>

	<context-root>⁄<⁄context-root>
<⁄weblogic-web-app>

블로그 이미지

행복그리고..

,

아래 JSP Code는 System property 목록들을 Table 형태로 출력한 부분입니다. 


<%@ page language="java" contentType="text⁄html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.*;"%>
<!DOCTYPE html PUBLIC "-⁄⁄W3C⁄⁄DTD HTML 4.01 Transitional⁄⁄EN" "http:⁄⁄www.w3.org⁄TR⁄html4⁄loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text⁄html; charset=UTF-8">
<link rel="stylesheet" href=".⁄css⁄bootstrap.css">
<link rel="stylesheet" href=".⁄css⁄bootstrap-responsive.css">
<⁄head>
<body>

	<div style="margin-left:40px; margin-right: 40px;">
		<h2>Description<⁄h2>
		<p>
			The <strong>java.lang.System.getProperties()<⁄strong>method
			determines the current system properties. The current set of system
			properties for use by the getProperty(String) method is returned as a
			Properties object. If there is no current set of system properties, a
			set of system properties is first created and initialized. This set
			of system properties includes values for the following keys:
		<⁄p>
		
		<div>
			<table class="table">
				<thead>
					<tr>
						<th width="10%" style="text-align:center">No<⁄th>
						<th width="15%" style="text-align:center">Key<⁄th>
						<th width="75%" style="text-align:center">Value<⁄th>
					<⁄tr>
				<⁄thead>
			<⁄table>
		<⁄div> <!-- Table Header -->
		<div style="width: 100%; height:300px; overflow-y:auto; overflow-x: hidden;">
			<table class="table">
				<tbody>
					<% Map<String, String> env = System.getenv(); 	int index = 1; for (String key : env.keySet()) { %>
					<tr>
						<td width="10%" style="text-align:center"><%= index++ %><⁄td>
						<td width="15%" ><%= key %><⁄td>
						<td width="75%" ><%= env.get(key) %><⁄td>
					<⁄tr>
					<% } %>
				<⁄tbody>
			<⁄table>
		<⁄div>
	<⁄div>

	<script src=".⁄js⁄jquery-1.11.1.js"><⁄script>
	<script src=".⁄js⁄bootstrap.js"><⁄script>
<⁄body>
<⁄html>


블로그 이미지

행복그리고..

,
File file = new File("C:\\Program Files\\Java");
System.out.println(new java.util.Date(file.lastModified()));
file = new File("C:\\Program Files\\Java\\jdk1.8.0_20\\src.zip");
System.out.println(new java.util.Date(file.lastModified()));
블로그 이미지

행복그리고..

,