Struts+Spring+Hibernate整合的简单实例(9)

发布时间:2021-06-05

Struts+Spring+Hibernate整合的简单实例

pageEncoding="ISO-8859-1"%>

<%@tagliburi="/tags-bean"prefix="bean"%> <%@tagliburi="/tags-html"prefix="html"%> <%@tagliburi="/jsp/jstl/core"prefix="c"%>

<!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Transitional//EN""http://www.w

/TR/html4/loose.dtd">

<html>

<head>

<metahttp-equiv="Content-Type"content="text/html;charset=ISO-8859-1"> <title>Inserttitlehere</title>

</head>

<body>

<html:formaction="/test">

name:<html:textproperty="name"></html:text>

<html:errorsproperty="name"/>

<html:hiddenproperty="method"value="save"/>

<html:submit>tijiao</html:submit>

<ahref="<c:urlvalue="/test.do?method=list"/>">AllItems</a>

</html:form>

</body>

</html>

Edit.jsp

[html]viewplaincopy

<%@pagelanguage="java"contentType="text/html;charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>

精彩图片

热门精选

大家正在看