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