こんにちは、grails gsp に次のコードがあります
<form action="upload-script-url" method="post" enctype="multipart/form-data">
<table class="table"style="width: 75%">
<tr>
<td>
<span style="font-weight: bold; ">Select the Source File:</span>
<input size="75" type="file" id="payload" name="payload"/>
</td>
</tr>
<tr>
<td>
<input type="submit" class="red" id="Run">Run</button>
</td>
</tr>
</table>
</form>
私はフォームパラメータを読みました: here
Are these right parameters in the html form?
選択したファイルからデータを読み取るにはどうすればよいですか? apache commons fileupload api を使用する必要がありますか?
ありがとう