Topic: 紧急求助(关于报表以及BEAN,APPLET,APPLICATION?)!!! |
Print this page |
1.紧急求助(关于报表以及BEAN,APPLET,APPLICATION?)!!! | Copy to clipboard |
Posted by: struggle Posted on: 2003-03-10 09:25 我现在用报表公司的API,BEAN实现了(实际上只在它的例子基础上稍改了一下)报表的输出。当然报表在之前是用报表制作工具(JRPEORT)设计好的。现在想和JSP页面结合起来,比如点击JSP页面上的按钮,报表就显示在JSP页面上。 我想用APPLET来实现,可是运行时浏览器却说找不到类(报表中的类),想用BEAN实现,我却遇到了困难(我是JAVA初学者)。 哪位大侠可否从高层指点一下方向,谢谢!!! |
2.Re:紧急求助(关于报表以及BEAN,APPLET,APPLICATION?)!!! [Re: struggle] | Copy to clipboard |
Posted by: snowbug Posted on: 2003-03-11 00:08 To use applet, you must make the classes accessible to the client, that is, the class files (and all the used jar files) must be downloadable by the client. From what you said, the report API is missing. What is the output format of the report beans? If it is PDF or html, you can simply call the API to generate the PDF/html stream, then write it to the client (make sure you set the MIME type correctly). |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |