日期:2014-05-17 浏览次数:20930 次
dodata dodata=new dodata();
List<sordata> secdata=dodata.serachdata(pn,exdate,source_data_new);
out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");
out.println("<HTML>");
out.println(" <HEAD><TITLE>A Servlet</TITLE></HEAD>");
out.println(" <BODY>");
out.println("<table>");
out.println("<tr><td>号码</td><td>姓名</td><td>套餐</td><td>上月套餐包含流量</td><td>使用流量</td><td>溢出流量</td><td>溢出占比</td><td>溢出费用</td><td>建议办理套餐</td><td>分档明细</td><td>地区</td>");
out.println("<br/></tr>");
for(int i=0;i<secdata.size();i++)
{
out.println("<tr><td>");
out.println(secdata.get(i).getNUMN());out.println("</td>");
out.println("<td>");out.println(secdata.get(i).getNAMEN());out.println("</td>");
out.println("<td>");out.println(secdata.get(i).getTAOC_NAME());out.println("</td>");
out.println("<td>");out.println(secdata.get(i).getTAOC_ZLLM());out.println("</td>");
out.println("<td>");out.println(new String(secdata.get(i).getSY_LLM()));out.println("</td>");
out.println("<td><input type=\"text\" name=\"");out.println(secdata.get(i).getYC_LLM());
out.println("\"");out.println(" value=\"");out.println(secdata.get(i).getYC_LLM());out.println("\"");
out.println("/>");out.println("</td>");
out.println("<td>");out.println(secdata.get(i).getYC_ZB());out.println("</td>");
out.println("<td>");out.println(secdata.get(i).getYC_AMT());out.println("</td>");
out.println("<td>");out.println(secdata.get(i).getTAOC_BANL());out.println("</td>");
out.println("<td>");out.println(secdata.get(i).getFENGD_MX());out.println("</td>");
out.println("<td>");out.println(secdata.get(i).getSOURCE_DATA_NEW());out.println("</td>");
out.println("</tr>");
}
out.println("</table>");
out.println(" </BODY>");