<form action="example.jsp" enctype="multipart/form-data" method="POST"> <label for="fname">请选择</label> <input type="file" name="fname"/> </form> 查看完整描述