<%@ page language="java" 
pageEncoding="utf-8"%>
<%@ include file="/common/header.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>信息展示</title>
<link rel="stylesheet" type="text/css" href="${ctx}/gl_css/login/base.css" />
</head>
<body>
<div id="form">
<form action="user_getList.do" method="post" id="userForm">
<table align="center" cellpadding="0" cellspacing="1" border="1"> 
<tr align="center">
<td>标记</td>
<td>用戶名</td>
<td>密码</td>
<td>年龄</td>
<td>文件信息</td>
</tr>

<c:forEach var="info" items="${list}"> 
<tr align="center">
<td>
<input type="checkbox" name="chcs" value="${info.id}"/>
</td>
<td>${info.userName}</td>
<td>${info.password}</td>
<td>${info.age}</td>
<td>
<input type="button" value="查看" style="width: 60px;height: 30px;" onclick="look()">
</td>
</tr>
</c:forEach>
<tr>
<td colspan="5" align="center"> 
<input type="button" value="添加" name="btn1" onclick="add()">&nbsp&nbsp
<input type="button" value="删除" name="btn2" onclick="delet()">&nbsp&nbsp
<input type="button" value="修改" name="btn3" onclick="modify()">&nbsp&nbsp
<input type="button" value="上传" name="btn4" onclick="upload()">
</td>
</tr>
</table>
<input type="hidden" name="ids" id="ids"/>
</form>
</div>
<div id="text_value">
<form action="user_getFile.do" method="post" id="fileForm">
<table align="center" cellpadding="0" cellspacing="1" border="1"> 
<tr>
<td>存储路径</td>
</tr>
<tr>
<td>${picPath}</td>
</tr>
</table>
<input type="hidden" name="xxoo" id="xxoo"/>
</form>
</div>
</body>
<script type="text/javascript" src="${ctx}/js/god_Core.js"></script>
<script type="text/javascript" src="${ctx}/js/jquery.min.js"></script>
<script type="text/javascript">
function add(){
$('#userForm').attr('action','${ctx}/user_toAdd.do');
$('#userForm').submit();
}
function delet(){
var str='';
// var chcs=$("input[name='chcs']");
var chcs = document.getElementsByName('chcs');
for(var i=0;i<chcs.length;i++){
if(chcs[i].checked){
str+=chcs[i].value+',';
}
}
if(str==''){
alert("请至少选择一个数据删除!");
return ;
}
if(!confirm("确认删除选中数据?")){
var mid = document.getElementById('chcs');
return ;
}
if(str.match(/,/)){str=str.substr(0,str.length-1)};
$('#ids').val(str);
$('#userForm').attr('action','${ctx}/user_delete.do');
$('#userForm').submit();
}
function modify(){
var str = '';
var id = document.getElementsByName('chcs');
var count = 0;
for(var i=0;i<id.length;i++){
if(id[i].checked){
str +=id[i].value + ',';
count++;
}
}
if(count != 1){
alert("必选选择一条数据修改!");
return;
}
else{
if(str.match(/,/)){str=str.substr(0,str.length-1)};
$('#ids').val(str);
$('#userForm').attr('action','${ctx}/user_update.do');
$('#userForm').submit();
}
}
function upload(){
var str = '';
var id = document.getElementsByName('chcs');
var count = 0;
for(var i=0;i<id.length;i++){
if(id[i].checked){
str +=id[i].value + ',';
count++;
}
}
if(count != 1){
alert("必须选择上传用户且唯一!");
return;
}
else{
if(str.match(/,/)){str=str.substr(0,str.length-1)};
$('#ids').val(str);
$('#userForm').attr('action','${ctx}/user_upLoad.do');
$('#userForm').submit();
}
}
function look(){
var str = '';
var id = document.getElementsByName('chcs');
var count = 0;
for(var i=0;i<id.length;i++){
if(id[i].checked){
str +=id[i].value +',';
count++;
}
}
if(count != 1){
alert("请选择一位用户!");
return;
}
else{
if(str.match(/,/)){str=str.substr(0,str.length-1)};
var a =document.getElementById("text_value")
 if(a.style.display==""){
    a.style.display="block"
    $('#xxoo').val(str); 
    $('#fileForm').attr('action','${ctx}/user_getFile.do');
    $('#fileForm').submit();
  }else{
    a.style.display=""
    $('#xxoo').val(str);
    $('#fileForm').attr('action','${ctx}/user_getFile.do');
    $('#fileForm').submit();
}
}
}
</script>
</html>
public String getFile(){
String id = this.getRequest().getParameter("ID");
String picPath = this.baseService.getFile(id);
this.getRequest().setAttribute("picPath", picPath);
return "list";
}为什么我运行了javax.el.PropertyNotFoundException: Property 'id' not found on type java.lang.String这个异常啊