// 从页面获取数据
public IMap(HttpServletRequest request) {
this.request = request;
// 返回值Map
HashMapreturnMap = new HashMap();
// 参数Map
Map properties = request.getParameterMap();
for (Map.Entry entry : entrySet) {
null ? null : convert2Decode((String) entry.getKey(), charset);
"";
if(null == valueObj){
"";
else if(valueObj instanceof String[]){
for(int i=0;i<values.length;i++){
if (request.getMethod().equalsIgnoreCase("get")) {
null ? null : convert2Character(value, charset);
null ? null : convert2Decode(value, charset) + ",";
0, value.length()-1);
else{
returnMap.put(key, value);
}
文章来源: https://blog.csdn.net/i929479824/article/details/91418242