我在一开始没有把<td>该客户贷款笔数为:</td>加进去时,页面显示返回了一个数字:1,就是<%=creditReportForm.getName1() %>返回的数值,可是后来我把<td>该客户贷款笔数为:</td>加进去后,在重新刷新页面后,还是显示一个数字1.而后来加进去的文字并没有显示出来。很是费解。还请高手指点。开发工具使用的Myeclipse6.0,creditReportForm中的数据是从数据库中取出来的。<%
CreditReportForm creditReportForm = (CreditReportForm) request
.getAttribute("creditReportForm");
%>
<html>
<head></head>
<body>
<table>
<tr>
<td>该客户贷款笔数为:</td>
<td>
<%=creditReportForm.getName1() %>
</td>
</tr>
</table>
</body>
</html>
CreditReportForm creditReportForm = (CreditReportForm) request
.getAttribute("creditReportForm");
%>
<html>
<head></head>
<body>
<table>
<tr>
<td>该客户贷款笔数为:</td>
<td>
<%=creditReportForm.getName1() %>
</td>
</tr>
</table>
</body>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货