struts2下载以及文件未找到提示
?
?
?
public String getDownloadFileName() {String downFileName = fileName;try {downFileName = new String(downFileName.getBytes(), "ISO8859-1");} catch (UnsupportedEncodingException e) {}return downFileName;}java中的两个方法必备。?具体查看资料:http://berry0606.iteye.com/blog/570239