index.jsp
<HTML>
<HEAD>
<TITLE>Uploading Files</TITLE>
</HEAD>
<BODY>
<FORM ACTION="basic.jsp" METHOD="POST">
<INPUT TYPE="FILE" NAME="filer">
<BR>
<INPUT TYPE="SUBMIT" VALUE="Submit">
</FORM>
</BODY>
</HTML>
basic.jsp
<HTML>
<HEAD>
<TITLE>Uploading Files</TITLE>
</HEAD>
<BODY>
<H1>Uploading Files</H1>
File name:
<%= request.getParameter("filer") %>
</BODY>
</HTML>
Download: UsingFormUploadFileControl.zip( 1 k)23.28.File Upload Field |
| 23.28.1. | Using form upload file control | |