Grails 文件上传

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

<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>