我往ServletContext.setAttribute里放一个对象数组可以吗,就是同一个属性名的值有多个 
例如:
ServletContext ctx=getServletContext();
ctx.setAttribute("product",product);
这里后面的product是个对象数组,我发现到了JSP中要做表格显示这个对象数组的内容不太好弄。