|
<%@ page
language="java"
import="java.io.*"
import="java.text.*"
import="java.util.*"
contentType="text/html;charset=shift_jis" %>
<%
response.setHeader( "Expires", "Wed, 31 May 2000 14:59:58 GMT" );
// *********************************************************
// web.xml のデータ取得
// *********************************************************
Enumeration enumInit = application.getInitParameterNames();
String strKey = "";
String strValue = "";
String strData = "";
while( enumInit.hasMoreElements() ) {
strKey = enumInit.nextElement().toString();
strValue = application.getInitParameter(strKey);
strData += strKey + " => " + strValue + "\n";
}
%>
<HTML>
<BODY>
<!-- 埋め込みで出力 -->
<PRE>
<%= strData %>
</PRE>
</BODY>
</HTML>
| |