Quiere mostrar la lista de archivos usando jsp
Soy nuevo en netbeans con el servidor glassfish. Mi código html se ve como
<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>
cuando se envía la solicitud, quiero almacenar el archivo cargado en la unidad (por ejemplo, c: / upload) y el iframe (id = upload) debe mostrar los archivos en la carpeta (c: / upload). ¿Alguien sabe dónde puedo encontrar algún código de muestra que muestre cómo se hace esto?