<%--
Document : Application
Created on : 2009-10-4, 13:18:53
Author : lucifer
--%>
<%@page contentTy
PE="text/ht
ML" pageEncoding="UTF-8"%>
<!DOCTYPE HTML P
ubLIC "-//W3C//DTD HTML 4.01 Trans
ITional//EN"
"http://www.w3.
org/TR/html4/loose.dtd">
<html>
<head>
<
;meta http-equiv="Content
-type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
get Server Info:
<%=application.getServerInfo()%>
<
br>
get Context Path:
<%=application.getContextPath()%>
<br>
get Real Path:
<%=application.getRealPath("/Application.jsp")%>
<br>
</body>
</html>
get Server Info:
apache Tomcat/6.0.18
get Context Path: /
testMethod
get Real Path: D:\
PRogr
am Files\NetBeans 6.7.1\www\TestMethod\build\web\Application.jsp