struts2.0上传文件异常:Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest 。
解决:在struts2.0的发行包中的showcase例子中有上传的例子,里边提供了
common-fileupload-1.1.1.jar,commons-io-1.1.jar包,直接拿过来使用就好。注意使用高版本的common也可能会产生异常。
struts2.0上传文件异常:Unable to load bean org.apache.struts2.dispatcher.multipart.MultiPartRequest 。
解决:在struts2.0的发行包中的showcase例子中有上传的例子,里边提供了
common-fileupload-1.1.1.jar,commons-io-1.1.jar包,直接拿过来使用就好。注意使用高版本的common也可能会产生异常。