懂JSP, JFreechart的朋友,帮忙做3个report, $$$

Jesam32421 2011-10-06 10:22:06
还有3天时间,请帮个忙,做三个report, 酬谢RMB1000。要求能利用JSP发布,最好也能生成PDF格式的。
前两个report非常简单,但是我不懂如何利用JSP发布出来,也不会生成PDF格式。

第一个report所需要的SQL语句如下:
select Username, nvl(Email, '-'), nvl(FName, '-'), nvl(LName, '-'), Accessibility, CreateTime, nvl(ExpireDate, to_date('31-12-2099', 'DD-MM-YYYY')) FROM PollUser order by accessibility desc

第二个report所需要的SQL:
select poll.id, nvl(poll.version, '-'), poll.name, nvl(poll.description, '-'), nvl(poll.latitude, '-'), nvl(poll.longitude, '-'), poll.createtime, poll.creatorname, poll_ParticipantList.username, attendance from poll, poll_ParticipantList, (select user_poll.pollid as aid, user_poll.pollversion, count(user_poll.username) as attendance from user_poll group by user_poll.pollid, user_poll.pollversion) where poll.id=aid and poll.id=poll_ParticipantList.pollid order by aid

其中只有poll.name, poll.description, latitude, longitude, createtime, creatorname, attendence需要显示在report上。

第三个report有点难度,因为需要输入最多5个参数,要加入Jfreechart生成的图表,还要比较数据,然后在图表中生成。

多谢了。

另外,需要用到Oracle XE的数据库,我有创建表和trigger的所有scripts,可以假设所有数据都在数据库里。

当然了,如果不用就asp而report也能做出report,那也行。
...全文
115 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
Jesam32421 2011-10-06
  • 打赏
  • 举报
回复
第三个report的具体要求: 第一部分:根据选择的考卷列出所有问题和问题的选项
第二部分:从数据库统计数据,列出每个选项有多少人选,并用JFreechart生成柱状图,饼状图。
第三部分:不同问题的答题人数对比。
就这样。
Jesam32421 2011-10-06
  • 打赏
  • 举报
回复
当然了,如果你不用jasperreport也能做出合格的报表,那也没问题。
Jesam32421 2011-10-06
  • 打赏
  • 举报
回复
请联系QQ 1622402685

25,980

社区成员

发帖
与我相关
我的任务
社区描述
高性能WEB开发
社区管理员
  • 高性能WEB开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧