Grails 文件上传

<g:form action="save" method="post" enctype="multipart/form-data">  
<input type="file" id="projectLogoPath" name="projectLogoPath" value="${fieldValue(bean:projectInstance,field:'projectLogoPath')}"/>
</g:form>

编程技巧