⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 uploadform.jsp

📁 采用jsp编写的企业计量设备管理系统
💻 JSP
字号:
<%@ 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>
            <pgmm:label key="uploadForm.name"/>
        </th>
        <td>
            <html:text property="name" size="40" styleId="name" />
        </td>
    </tr>
    <tr>
        <th>
            <pgmm: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">
            	<bean:message key="button.upload"/>
            </html:submit>
            <html:cancel styleClass="button" onclick="bCancel=true">
            	<bean: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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -