login.jsp
<%@ page language="java" contentType="text/html; char=GBK"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<title>登录页面</title>
<s:head/>
</head>
<body>
<s:form action="Login.action" method="post">
<s:textfield name="name" label="用户名"/>
<s:password name="password" label="密码"/>
<s:submit value="登录"/>
</s:form>
</body>
</html>
1、输入:http://localhost:8080/strutsdemo/login.jsp
46</div></td>
47</tr>
48
49
50</table></form>
51
52
53
54
55</body>
56</html>
最新评论