code013.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>request对象获取请求参数</title>
</head>
<body>
<a href="code014.jsp?id=1&user=admin&pwd=123">处理页</a>
</body>
</html>
此篇博客讲解如何在Java Servlet中通过request对象获取来自code014.jsp页面传递的参数,如id=1和user=admin等。

277

被折叠的 条评论
为什么被折叠?



