I'm newbie to Java and I have create simple HTML form for files upload (All type of file). I want to upload the file to directly to my server.
My URL is http://www.example.com
My html code is
<html>
<head></head>
<body>
<form name="data" action="" method="post">
<div id="formName">
<label>Pancard:</label><br />
<input type="file" name="pancard" id="pancard" class="required">
<input type="submit" value="Submit Details" name="Submit" >
</div>
</form>
</body>
</html>
How to upload and save the uploaded file in server (in my url) using Java at the backend.
I need to store the all upload file in server and i download the file from server directly.
I don't want to store in local or temp file. When i upload the file and save it in my server (example URL)...
How to save or upload the file direct to server(URL)