아래 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>


블로그 이미지

행복그리고..

,
<head>
	<link rel="shortcut icon" type="image⁄x-icon" href="아이콘 파일 주소">
<⁄head>

블로그 이미지

행복그리고..

,

[HTML 문서 안에 직접 작성]

<script type="text⁄javascript">

<⁄script>

[HTML 문서에 JavaScript파일을 삽입]

<script type="text⁄javascript" src="자바스크립트 파일 주소">

<⁄script>


블로그 이미지

행복그리고..

,

[HTML 문서 안에 직접 작성]

<head>
<style type="text⁄css">

<⁄style>
<⁄head>

[HTML 문서에 CSS파일을 삽입]

<head>
	<link rel="stylesheet" href="CSS 파일 주소">
<⁄head>


블로그 이미지

행복그리고..

,