<!DOCTYPE html>
<html>
<head>
    <title>Upload a File</title>
</head>
<body>
<h2>Upload a file</h2>
#{form @doUpload(), enctype:'multipart/form-data'}
   <input type="file" name="file"><br/>
   Comment: <input type="text" name="comment"><br/>
   <input type="submit" name="submit" value="Upload">
#{/form}
</ul>
</body>
</html>