18 lines
		
	
	
		
			580 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			18 lines
		
	
	
		
			580 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								<%@ page language="java"  contentType="text/html; charset=UTF-8"  pageEncoding="utf-8"%> 
							 | 
						||
| 
								 | 
							
								 <META http-equiv=Content-Type content="text/html; charset=utf-8"> 
							 | 
						||
| 
								 | 
							
								<!DOCTYPE html>
							 | 
						||
| 
								 | 
							
								<html>
							 | 
						||
| 
								 | 
							
								<head>
							 | 
						||
| 
								 | 
							
								    <meta charset="UTF-8">
							 | 
						||
| 
								 | 
							
								    <title>参数传递示例</title>
							 | 
						||
| 
								 | 
							
								</head>
							 | 
						||
| 
								 | 
							
								<body>
							 | 
						||
| 
								 | 
							
								    <h3>从表单向Servlet传递参数</h3>
							 | 
						||
| 
								 | 
							
								    <form method="GET" action="ParamServlet">
							 | 
						||
| 
								 | 
							
								        姓名:<input type="text" name="name"><br>
							 | 
						||
| 
								 | 
							
								        年龄:<input type="text" name="age"><br>
							 | 
						||
| 
								 | 
							
								        <input type="submit" value="确定">
							 | 
						||
| 
								 | 
							
								        <input type="reset" value="重置">
							 | 
						||
| 
								 | 
							
								    </form>
							 | 
						||
| 
								 | 
							
								</body>
							 | 
						||
| 
								 | 
							
								</html>
							 |