【JSP开源代码栏目提醒】:网学会员,鉴于大家对JSP开源代码十分关注,论文会员在此为大家搜集整理了“fileUploadInput.jsp”一文,供大家参考学习!
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<title>Upload File</title>
<s:head/>
</head>
<body>
<s:form action="fileUpload" enctype="multipart/form-data" method="post">
<s:file name="file" label="File"/>
<s:submit />
</s:form>
</body>
</html>