struts构建文件上传(四)

花花姑娘花大钱

花花姑娘花大钱

2016-02-19 14:59

生活已是百般艰难,为何不努力一点。下面图老师就给大家分享struts构建文件上传(四),希望可以让热爱学习的朋友们体会到设计的小小的乐趣。

  与actionform相对应的jsp页面

(本文来源于图老师网站,更多请访问https://m.tulaoshi.com/bianchengyuyan/)

  

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; charset=UTF-8" %
%request.setCharacterEncoding("gb2312");%
html:html locale="true"
head
meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
link href="../css/main.css" rel="stylesheet" type="text/css"
titleAdd TrainPlan/title
/head
body
table width="600" border="0" align="center" cellpadding="0" cellspacing="0" class="tabletoolbar"
tr
td class="tabletitletext"div align="center" class="tabletitletext"Add TrainPlan/div/td
/tr
/table
!--DWLayoutTable--
html:form action="/maintainAction.do" method="post" enctype="multipart/form-data"
table width="600" border="0" align="center" cellpadding="7" cellspacing="0" class="InputFrameMain"
tr
td width="3%" nowrap /td
td width="11%" nowrapstrongTitle/strong/td
td width="22%" nowraphtml:text maxlength="50" property="trainPlan.p_title" size="50"//td
td width="11%" nowrapdiv align="center"strongIssue Time/strong/div/td
td width="22%" nowraphtml:text property="trainPlan.issue_time" size="10"/
html:button value="Date" property="Submit"//td
td width="10%" nowrapdiv align="center"/div/td
/tr
tr
td nowrap /td
td nowrapstrongPost Index/strong/td
td nowrap
/td
td nowrapdiv align="center"strongIssuer/strong/div/td
td nowraphtml:text maxlength="10" property="trainPlan.issuer" size="10"//td
td height="30" colspan="8" nowrapdiv align="center"/div div align="center"
tr
/tr
/div/td
/tr
/table
br
table width="595" border="0" align="center" cellpadding="7" cellspacing="0" class="InputFrameMain"
Train Plan Content
tr
td width="10%" nowrapstrongTrainPlan Content/strong:span class="InputAreaCell"strongbr
/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" nowrapdiv align="center"/div div align="center"
/div/td
/tr
/table
br
table width="610" border="0" align="center" cellpadding="7" cellspacing="0" class="InputFrameMain"
Accessory
tr
td width="595"span class="InputAreaCell"strongAccessory1
html:file maxlength="60" property="theFile1" size="60"/
brAccessory2
html:file maxlength="60" property="theFile2" size="60"/
brAccessory3
html:file maxlength="60" property="theFile3" size="60"/
br
/strong/span/td
/tr
tr
td height="30" colspan="8" nowrapdiv align="center"/div div align="center"
html:submit styleClass="button" value="提交" property="Submit" onclick="return RgTest()"/
/div/td
/tr
/table
/html:form
/body
/html:html

(本文来源于图老师网站,更多请访问https://m.tulaoshi.com/bianchengyuyan/)
展开更多 50%)
分享

猜你喜欢

struts构建文件上传(四)

编程语言 网络编程
struts构建文件上传(四)

struts构建文件上传(六)

编程语言 网络编程
struts构建文件上传(六)

s8lol主宰符文怎么配

英雄联盟 网络游戏
s8lol主宰符文怎么配

struts构建文件上传(二)

编程语言 网络编程
struts构建文件上传(二)

struts构建文件上传(九)

编程语言 网络编程
struts构建文件上传(九)

lol偷钱流符文搭配推荐

英雄联盟 网络游戏
lol偷钱流符文搭配推荐

struts构建文件上传(一)

编程语言 网络编程
struts构建文件上传(一)

struts构建文件上传(八)

编程语言 网络编程
struts构建文件上传(八)

lolAD刺客新符文搭配推荐

英雄联盟
lolAD刺客新符文搭配推荐

Word2007文档中如何批量替换字体

Word2007文档中如何批量替换字体

TXT编辑回滚

TXT编辑回滚
下拉加载更多内容 ↓