后页面仍然显示的是标签代码而不是数值 在线等
这段代码是我action中写道的:
IncomeMainForm imf=new IncomeMainForm ();
IncomMainService ims=new IncomMainService();
ArrayList list=new ArrayList();
Boolean k;
k=ims.checkIncome();
list=ims.getIncome(imf);
HttpSession session =request.getSession();
if(k=true){
session.setAttribute("list", list);
return mapping.findForward("income");
}
return mapping.findForward("fail");
}
jsp页面中的代码是:
<c:forEach var="als" items="${list}">
<tr>
<td width="20%" align="center"><font color="#993333"><c:out value="${als.business_date}"/>
</font></td>
<td width="20%" align="center"><font color="#993333"><c:out value="${als.lst_mod_timestamp}"/> </font></td>
<td width="20%" align="center"><font color="#993333"><c:out value="${als.daily_income}"/></font></td>
<td width="34%" align="center"><img border="0" src="../images1/depart1.gif" width="43" height="23"></td>
</tr>
</c:forEach>
注:(两个jar包我已经引用了,<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>我也已经写了)
现在出现的问题是:程序并没有出错提示,但是页面本应该显示数据的地方,还是一些类似${als.business_date}的标签,请问谁能指教一下为什么,谢谢,在线等。