Java Tutorial/JSP/File Upload Field

Материал из Java эксперт
Перейти к: навигация, поиск

Using form upload file control

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>