Hi, I am developing a plugin that allows you to bulk create users on a server based on the data in a csv file. I've managed to get a velocity template showing with a form, as such:
<form id="form" action="#">
<label for="file-input">Choose CSV file:</label>
<input type="file" id="file-input" name="file-input" accept=".csv">
<button type="submit" value="Submit">Submit</button>
</form>
However, I'm stuck on the action java class. How do I handle the csv file upon submitting the form (extract the data from the csv file)?