Maven搭建MyEclipse10+Struts2.1+Spring3.3+Hibernate3.3全注解(9)
发布时间:2021-06-05
发布时间:2021-06-05
Maven搭建MyEclipse10+Struts2.1+Spring3.3+Hibernate3.3全注解框架
<s:textfield name="name" value="steve"></s:textfield> <s:textfield name="password" value="123"></s:textfield> <s:submit></s:submit> </s:form> </body> </html> success.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head>
<title>My JSP 'success.jsp' starting page</title> </head>
<body> <s:text name="password" /> <hr /> <s:property value="password" /> </body> </html> fail.jsp
<body>登录失败,用户名或密码错误. </body>
三、添加hibernate框架
1. 添加hibernate支持
上一篇:音视频即时通讯发展走势