struts2在解析request中的流时,必须要在客户端提交post请求时,将头部的content设置为text/html时,否则struts2解析不了。
httpURLConnection.setRequestProperty("content-type", "text/html");
refurl:http://waterdh.iteye.com/blog/202608
struts2在解析request中的流时,必须要在客户端提交post请求时,将头部的content设置为text/html时,否则struts2解析不了。
httpURLConnection.setRequestProperty("content-type", "text/html");
refurl:http://waterdh.iteye.com/blog/202608