Forum Stats

  • 3,839,860 Users
  • 2,262,546 Discussions
  • 7,901,083 Comments

Discussions

When call jasper report from jsp, occur error

807569
807569 Member Posts: 34,691
edited May 15, 2006 8:25AM in Java Programming
I define a class call createReport that has a function call doReport to create report.
If i call doReport from application, notthing's happened.
But if i call doReport from jsp file, it occurs error ( 500 error ).

jsp file :
<%@ page import="myBean.createReport"%>
<%! createReport myReport = new createReport();%>
<%myReport.doReport("c:\\myJasper.jasper");%>
c:\\myJasper.jasper is the path of report.

Do you have some sugguestions to solve that error?

Comments

This discussion has been closed.