我有以下类型的 html
<html>
<head>
<title>Upload a file please</title>
</head>
<body>
<h1>Please upload a file</h1>
<form method="post" action="http://localhost:8080/service/uploadFile" enctype="multipart/form-data">
<input type="text" name="name"/>
<input type="file" name="file"/>
<input type="submit"/>
<input type="hidden" name="smallSize" value="50x50">
<input type="hidden" name="mediumSize" value="100x100">
<input type="hidden" name="largeSize" value="150x150">
</form>
</body>
</html>
我想使用 Vaadin Uploadcomponent
来做到这一点?我怎样才能做到这一点?