<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>登录页面</title></head><body><formaction="/StrutsDemo/login.do"method="post">
UserName:<inputtype="text"name="username"/><br><br>
Password:<inputtype="password"name="password"/><br><br><inputtype="submit"value="Login"/></form></body></html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Welcome Page</title></head><body><h1>Welcome to this page!</h1></body></html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Error Page</title></head><body><h1>This page is Error!</h1></body></html>