本人用crystal reports 进行数据库数据显示 单表在jsp显示没问题 多表显示报错
ERROR com.crystaldecisions.reports.reportdefinition.datainterface[?] -> com.crystaldecisions.reports.reportdefinition.datainterface.h: 查找 JNDI 名称 (localhost) 时出错
ERROR com.crystaldecisions.reports.reportengineinterface.JPEReportSource[?] -> failed to process getPage request: 查找 JNDI 名称 (localhost) 时出错
String tableAlias = reportClientDoc.getDatabaseController().getDatabase().getTables().getTable(0).getAlias();
//把结果集放进报表里,将会自动产生一个datasource
reportClientDoc.getDatabaseController().setDataSource(rs,tableAlias, "resultsetTable");
//reportClientDoc.getDatabaseController().setDataSource(rs2,"", "");
session.setAttribute(session_name, reportClientDoc.getReportSource());
不知哪里不对 望各位指导
ERROR com.crystaldecisions.reports.reportdefinition.datainterface[?] -> com.crystaldecisions.reports.reportdefinition.datainterface.h: 查找 JNDI 名称 (localhost) 时出错
ERROR com.crystaldecisions.reports.reportengineinterface.JPEReportSource[?] -> failed to process getPage request: 查找 JNDI 名称 (localhost) 时出错
String tableAlias = reportClientDoc.getDatabaseController().getDatabase().getTables().getTable(0).getAlias();
//把结果集放进报表里,将会自动产生一个datasource
reportClientDoc.getDatabaseController().setDataSource(rs,tableAlias, "resultsetTable");
//reportClientDoc.getDatabaseController().setDataSource(rs2,"", "");
session.setAttribute(session_name, reportClientDoc.getReportSource());
不知哪里不对 望各位指导
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货