<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <% out.println("@:"+request.getParameter("test")+"<br>"); %> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Insert title here</title> </head> <body> <form> <input name="test"/> <input type="submit" value="提交"> </form> </body> </html>