当前位置: 代码迷 >> Eclipse >> Birt Report 请问
  详细解决方案

Birt Report 请问

热度:536   发布时间:2016-04-23 14:23:12.0
Birt Report 请教
http://10.134.9.176:8731/birt-viewer/run?__report=/tst/apps/dsweep/weblogic/bea-devt/user_projects/domains/obdomain/applications/birt-viewer/report/Current_Quote_Status.rptdesign&_dburl=jdbc:oracle:thin:@10.134.9.179:1523:DSACERT&_dbuser=dsweep&_dbpassword=dsweepcert&OrgID=MEM_DELL


以上url是run一个Birt   report的url地址,在IE浏览器中运行是OK的,但是想把它download成一个csv文件,download下来以后csv文件里面却报java.lang.nullpointerexception的错误,请哪位大虾指点一下。一下是download的url:
http://10.134.9.176:8731/birt-viewer/download?__report=/tst/apps/dsweep/weblogic/bea-devt/user_projects/domains/obdomain/applications/birt-viewer/report/Current_Quote_Status.rptdesign&_dburl=jdbc:oracle:thin:@10.134.9.179:1523:DSACERT&_dbuser=dsweep&_dbpassword=dsweepcert&OrgID=MEM_DELL

------解决方案--------------------
如果是你这样,根本不是改download这个名字,而是改加一个属性 __format

比如__format=csv

http://10.134.9.176:8731/birt-viewer/run?__report=Current_Quote_Status.rptdesign&__format=csv

前面还是run
  相关解决方案