http://localhost:8080/jsptech/request3.jsp
来源:互联网 发布:怎样自己制作软件 编辑:程序博客网 时间:2024/06/05 09:42
http://localhost:8080/jsptech/request3.jsp
getServerName():
localhost
getServerPort():
8080
getRemoteAddr():
127.0.0.1
getProtocol():
HTTP/1.1
getMethod():
GET
getServerletpath():
/jsptech/request3.jsp
getcharacterEncoding():
null
getSession():
org.apache.catalina.session.StandardSessionFacade@ed662d
文件名:request3.jsp
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<!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=gb2312">
<title>request对象使用实例3</title>
</head>
<body>
<b>getServerName():</b><br>
<%=request.getServerName()%><br>
<b>getServerPort():</b><br>
<%=request.getServerPort()%><br>
<b>getRemoteAddr():</b><br>
<%=request.getRemoteAddr()%><br>
<b>getProtocol():</b><br>
<%=request.getProtocol()%><br>
<b>getMethod():</b><br>
<%=request.getMethod()%><br>
<b>getServerletpath():</b><br>
<%=request.getServletPath()%><br>
<b>getcharacterEncoding():</b><br>
<%=request.getCharacterEncoding()%><br>
<b>getSession():</b><br>
<%=request.getSession()%>
</body>
</html>
- http://localhost:8080/jsptech/request3.jsp
- http://localhost:8080/jsptech/declaration.jsp
- http://localhost:8080/jsptech/scriptlet.jsp
- http://localhost:8080/jsptech/request1.jsp
- http://localhost:8080/jsptech/response1.jsp
- http://localhost:8080/demo/user_index.jsp
- http://localhost:8080/web/X.jsp 报错404
- http://localhost:8080/hohode
- http://localhost:8080/hohode
- tomcat网站地址: http://localhost:8080改为http://localhost
- http://localhost:8080/ 打开 错误
- http://localhost:8080/不显示
- tomcat打不开http://localhost:8080
- http://localhost/
- 刷新页面,获得刷新后页面的页数(http://localhost:8080/option/index.jsp?page=8)
- http://localhost:8080/struts-blank/的流程
- Android :Connection to http://localhost:8080 refused
- http://localhost:8080 报404错误
- Refactor! Pro v.2.5.11 released on 18 Dec 2007 and What'a New
- Refactor! Pro v.3.0.2 (Beta) released on 18 Dec 2007 and What'a New
- 哈哈!我们组乒乓球联赛我得一球拍
- 【资源共享】CSS2中文翻译(完整版)
- ASP.NET 2.0 AJAX 安装文件介绍。
- http://localhost:8080/jsptech/request3.jsp
- my lovely danw ^_^
- Hibernate的继承特性:优雅背后的小陷进
- ERROR - ORA-12514 监听程序当前无法识别连接描述符中请求的服务(来自于xuleicsu)
- C语言常用的宏定义(摘)
- hash数组的一个简单应用
- 卸载ORACLE
- SOA安全性解决方案
- 使用struts bean:write标签时不能显示Integer,BigDecimal等类型的属性问题的解决