uploadform.jsp

来自「this is for appfuse1.8 source using stru」· JSP 代码 · 共 56 行

JSP
56
字号
<%@ include file="/common/taglibs.jsp"%><title><fmt:message key="upload.title"/></title><content tag="heading"><fmt:message key="upload.heading"/></content><!--	The most important part is to declare your form's enctype to be "multipart/form-data",	and to have a form:file element that maps to your ActionForm's FormFile property--><fmt:message key="upload.message"/><div class="separator"></div><html:form action="uploadFile" method="post" styleId="uploadForm"    enctype="multipart/form-data" onsubmit="return validateUploadForm(this)"><table class="detail">    <tr>        <th>            <appfuse:label key="uploadForm.name"/>        </th>        <td>            <html:text property="name" size="40" styleId="name" />        </td>    </tr>    <tr>        <th>            <appfuse:label key="uploadForm.file"/>        </th>        <td>            <html:file property="file" size="50" styleId="file" />        </td>    </tr>    <tr>        <td></td>        <td class="buttonBar">            <html:submit styleClass="button" onclick="bCancel=false">            	<fmt:message key="button.upload"/>            </html:submit>            <html:cancel styleClass="button" onclick="bCancel=true">            	<fmt:message key="button.cancel"/>            </html:cancel>        </td>    </tr></table></html:form><script type="text/javascript"><!--highlightFormElements();// --></script><html:javascript formName="uploadForm" cdata="false"    dynamicJavascript="true" staticJavascript="false"/><script type="text/javascript"     src="<c:url value="/scripts/validator.jsp"/>"></script>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?