I am uploading a file. The jsp has the following.
<form id="uploadRepoData" enctype="multipart/form-data">
<input style="width: 250px" type="file" name="loadfile" class="loadInputDisplay"/>
On clicking the submit button, the csrf token is appended to the form and a post request is done. However, the request seems to have a null csrf token, hence the request is thought to be an invalid request and it fails.
I am not sure how to fix this.