Code: Select all
org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 18
15: <body>
16: <%
17: String reportPath = request.getSession().getServletContext().getRealPath("/reports/dumy_Report.mrt");
18: StiReport report = StiSerializeManager.deserializeReport(new File(reportPath));
19: report.render();
20: StiWebViewerOptions options = new StiWebViewerOptions();
21: pageContext.setAttribute("report", report);
javax.servlet.ServletException: com.stimulsoft.base.serializing.StiDeserializationException: java.lang.RuntimeException: Unable to obtain an analog of the class 'Stimulsoft.Report.StiTableStyle'
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:916)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:845)
org.apache.jsp.index_jsp._jspService(index_jsp.java:134)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:472)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
here is my code
---
Code: Select all
<%
String reportPath = request.getSession().getServletContext().getRealPath("/reports/dumy_Report.mrt");
StiReport report = StiSerializeManager.deserializeReport(new File(reportPath));
report.render();
StiWebViewerOptions options = new StiWebViewerOptions();
pageContext.setAttribute("report", report);
pageContext.setAttribute("options", options);
%>
<stiwebviewer:webviewer report="${report}" options="${options}" />