专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅

首页 »Java教程 » struts文件上传:struts构建文件上传( 4) »正文

struts文件上传:struts构建文件上传( 4)

来源: 发布时间:星期四, 2009年1月15日 浏览:40次 评论:0
  和actionform相对应jsp页面

  taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ page contentType="text/html; char=UTF-8" %>
<%request.CharacterEncoding("gb2312");%>
<html:html locale="true">
<head>
<meta http-equiv="Content-Type" content="text/html; char=UTF-8">
<link href="../css/.css" rel="stylesheet" type="text/css">
<title>Add TrainPlan</title>
</head>
<body>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0" ="tabletoolbar">
<tr>
<td ="tabletitletext"><div align="center" ="tabletitletext">Add TrainPlan</div></td>
</tr>
</table>
<!--DWLayoutTable-->
<html:form action="/tainAction.do" method="post" enctype="multipart/form-data">
<table width="600" border="0" align="center" cellpadding="7" cellspacing="0" ="InputFrameMain">
<tr>
<td width="3%" nowrap> </td>
<td width="11%" nowrap><strong>Title</strong></td>
<td width="22%" nowrap><html:text maxlength="50" property="trainPlan.p_title" size="50"/></td>
<td width="11%" nowrap><div align="center"><strong>Issue Time</strong></div></td>
<td width="22%" nowrap><html:text property="trainPlan.issue_time" size="10"/>
<html:button value="Date" property="Submit"/></td>
<td width="10%" nowrap><div align="center"></div></td>
</tr>
<tr>
<td nowrap> </td>
<td nowrap><strong>Post Index</strong></td>
<td nowrap>
</td>
<td nowrap><div align="center"><strong>Issuer</strong></div></td>
<td nowrap><html:text maxlength="10" property="trainPlan.issuer" size="10"/></td>
<td height="30" colspan="8" nowrap><div align="center"></div> <div align="center">
<tr>
</tr>
</div></td>
</tr>
</table>
<br>
<table width="595" border="0" align="center" cellpadding="7" cellspacing="0" ="InputFrameMain">
Train Plan Content
<tr>
<td width="10%" nowrap><strong>TrainPlan Content</strong>:<span ="InputAreaCell"><strong><br>
</strong></span></td>
<td width="90%"><html:textarea cols="80" rows="5" property="trainPlan.p_content"></html:textarea></td>
</tr>
<tr>
<td height="30" colspan="8" nowrap><div align="center"></div> <div align="center">
</div></td>
</tr>
</table>
<br>
<table width="610" border="0" align="center" cellpadding="7" cellspacing="0" ="InputFrameMain">
Accessory
<tr>
<td width="595"><span ="InputAreaCell"><strong>Accessory1
<html:file maxlength="60" property="theFile1" size="60"/>
<br>Accessory2
<html:file maxlength="60" property="theFile2" size="60"/>
<br>Accessory3
<html:file maxlength="60" property="theFile3" size="60"/>
<br>
</strong></span></td>
</tr>
<tr>
<td height="30" colspan="8" nowrap><div align="center"></div> <div align="center">
<html:submit styleClass="button" value="提交" property="Submit" _disibledevent=" RgTest"/>
</div></td>
</tr>
</table>
</html:form>
</body>
</html:html>


0

相关文章

读者评论

发表评论

  • 昵称:
  • 内容: