글래스 피 서버가있는 netbeans에 처음입니다. 내 html 코드는 요청이 제출되면jsp를 사용하여 파일 목록을 표시하고 싶습니다.
<html>
<body>
<form id="file_upload_form" method="post" enctype="multipart/form-data" action="upload.java">
<div style="float:center">
<center>
Select a file:
<input type="file" name="first" />
<input type="submit" name="button" value="upload" />
</center>
</div>
<center>
</br>
</br>
<iframe id="upload" style="background-color:white;" width=90% height=80%></iframe>
</center>
</form>
</body>
</html>
처럼 보입니다. 업로드 된 파일을 드라이브 (ex.c :/upload) 및 iframe에 저장하려고합니다. id = upload)는 폴더 (c :/upload)에 파일을 표시해야합니다. 아무도 내가 어떻게이 일을 보여줍니다 몇 가지 샘플 코드를 찾을 수 있는지 알고 있습니까?