I would like to create a folder that has been specified by a user i a JSP.
for example, in the jsp page below called index.jsp the user is asked to create a folder..
<form action="CreateFolder.jsp" method="post">
<h3> Create New Folder <h3>
<input name="createfolder" type="text">
<input type="submit" value"Create Folder">
</form>
from there how's the text input referenced or used to create the folder?
<%@page import="java.io.File"%>
<%
File f = new File(); /* how exactly, does the constructor here get the value from the input
in index.jsp to create the folder? */
if(!f.exists()){
f.mkdirs();
}
%>