%@ taglib uri="/web-inf/struts-bean.tld" prefix="bean" %><%@ taglib uri="/web-inf/struts-logic.tld" prefix">
| |
技术文档>>JAVA>>新手入门>>基础入门>查看文档 |
|
| |
struts构建文件上传(四) |
|
| |
文章作者:未知 文章来源:水木森林 |
|
| |
查看:112次 录入:管理员--2007-11-17 |
|
| |
与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; 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"> <title>add 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%" 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" class="inputframemain"> train plan content <tr> <td width="10%" nowrap><strong>trainplan content</strong>:<span class="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" class="inputframemain"> accessory <tr>
<td width="595"><span class="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" onclick="return rgtest()"/> </div></td> </tr>
</table> </html:form> </body> </html:html>
|
|
|
|
相关文档
|