服务热线:13616026886

技术文档 欢迎使用技术文档,我们为你提供从新手到专业开发者的所有资源,你也可以通过它日益精进

位置:首页 > 技术文档 > JAVA > 新手入门 > 基础入门 > 查看文档

struts构建文件上传(7)


  struts构建文件上传(7)

这是view页面viewtrainplan.jsp(上一张jsp名为planmanage.jsp)
<%@ page contenttype="text/html; charset=utf-8" %>
<%@ taglib uri="/web-inf/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/web-inf/struts-html.tld" prefix="html" %>
<%@ taglib uri="/web-inf/struts-logic.tld" prefix="logic" %>
<html>
<head>
<title>
veiwtrainplan
</title>
</head>
<%@ page import="tclcc.tester.business.maitain.trainplan"%>
<body bgcolor="#ffffff">
<%
trainplan trainp = (trainplan)request.getattribute("trainplain");
%>
已经创建了计划
<%=trainp.getp_title()%>
<br>
<%=trainp.getp_accessory()%>
</body>
</html> (未完待续)

扫描关注微信公众号