Selected System Properties : Introduction « JSP « Java Tutorial

Home
Java Tutorial
1.Language
2.Data Type
3.Operators
4.Statement Control
5.Class Definition
6.Development
7.Reflection
8.Regular Expressions
9.Collections
10.Thread
11.File
12.Generics
13.I18N
14.Swing
15.Swing Event
16.2D Graphics
17.SWT
18.SWT 2D Graphics
19.Network
20.Database
21.Hibernate
22.JPA
23.JSP
24.JSTL
25.Servlet
26.Web Services SOA
27.EJB3
28.Spring
29.PDF
30.Email
31.J2ME
32.J2EE Application
33.XML
34.Design Pattern
35.Log
36.Security
37.Apache Common
38.Ant
39.JUnit
Java Tutorial » JSP » Introduction 
23.1.8.Selected System PropertiesPrevious/Next
<%--
  Copyright (c2002 by Phil Hanna
  All rights reserved.
  
  You may study, use, modify, and distribute this
  software for any purpose provided that this
  copyright notice appears in all copies.
  
  This software is provided without warranty
  either expressed or implied.
--%>
<%@ page session="false" %>
<html>
<head>
<title>Selected System Properties</title>
</head>
<body>
<h1>Selected System Properties</h1>
<table border="1" cellpadding="3" cellspacing="0">
<%
   final String[] propNames = {
      "java.awt.printerjob",
      "java.class.path",
      "java.class.version",
      "java.ext.dirs",
      "java.library.path",
   };
   for (int i = 0; i < propNames.length; i++) {
      String name = propNames[i];
      String value = System.getProperty(name);
%>
<tr>
   <td align="left" valign="top"><%= name %></td>
   <td align="left" valign="top"><%= value %></td>
</tr>
<% %>
</body>
</table>
</html>
23.1.Introduction
23.1.1.A Web Page with JSP code
23.1.2.JSP code tag
23.1.3.Using a Literal
23.1.4.Prints a conversion table of miles per gallon to kilometers per liter
23.1.5.ASCII Table
23.1.6.Divide jsp page to several parts
23.1.7.Output HTML tags
23.1.8.Selected System Properties
23.1.9.Output Selected System Properties in a table
23.1.10.Page session false
23.1.11.Single-line Java comments are copied to the generated servlet
23.1.12.Declaration Tag Example
23.1.13.Declaration Tag - Methods
23.1.14.Multiple Declaration
23.1.15.Mix Jsp code with HTML tags
23.1.16.Embedding Code
23.1.17.Use out
23.1.18.Jsp page without Java code
23.1.19.Jsp page with XML namespace
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.