SmartUploadupload=newSmartUpload(); upload.initialize(pageContext); upload.service(request,response); upload.setCharSet("utf-8"); 这样设置下编码,获取的StringskinName=upload.getRequest().getParameter("skinName"); 中文就不是乱码了~页面都用utf-8的编码方式~