I am having one file upload form which uploads multiple files. Right now I have hard coded the folder name in which the uploaded file is to be stored.
But what I need is at the time of upload the form should also send folder name which will be created on the server to store uploaded files.
This is my form
<form action="uploadprocess.jsp" method="post" enctype="multipart/form-data" name="form1" id="form1">
<input name="file" type="file" id="file">
<input name="file" type="file" id="file">
<input name="foldername" type="hidden"> <!-- i will set folder name during run time -->
</form>
I am getting null when I use request.getParameter("foldername")