NotSerializableException: com.stimulsoft.report.StiReport
NotSerializableException: com.stimulsoft.report.StiReport
Hello,
We use Stimulsoft Reports.Java 2016.1, It does not work fine when we need to session sharing.error like:
Now we Requires a jar that supports the StiReport object serialization,like:
thanks
We use Stimulsoft Reports.Java 2016.1, It does not work fine when we need to session sharing.error like:
Now we Requires a jar that supports the StiReport object serialization,like:
thanks
Re: NotSerializableException: com.stimulsoft.report.StiRepor
Hello.
Please describe in details what do you want?
Please describe in details what do you want?
Re: NotSerializableException: com.stimulsoft.report.StiRepor
Hello,
I want the class of 'com.stimulsoft.report.StiReport' to support serialization. com.stimulsoft.report.StiReport implement Serializable.
I want the class of 'com.stimulsoft.report.StiReport' to support serialization. com.stimulsoft.report.StiReport implement Serializable.
Re: NotSerializableException: com.stimulsoft.report.StiRepor
Hello.
Class StiReport implements IStiSerializableRef.
You can use class StiSerializeManager for serialize/deserialize reports & templates, for example
StiSerializeManager.deserializeReport();
StiSerializeManager.serializeReport();
StiSerializeManager.serializeReportToJson();
Class StiReport implements IStiSerializableRef.
You can use class StiSerializeManager for serialize/deserialize reports & templates, for example
StiSerializeManager.deserializeReport();
StiSerializeManager.serializeReport();
StiSerializeManager.serializeReportToJson();
Re: NotSerializableException: com.stimulsoft.report.StiRepor
Hello,
Now we use the webviewer control on the jsp page. The webviewer control accepts only the type 'com.stimulsoft.report.StiReport' of the object.
We can only put this type of object in the session. 'pageContext.setAttribute("report", report);'
Our environment requires that the object that places the session must implement Serializable.
I still do not know how to do it? please help me.
Thanks
Now we use the webviewer control on the jsp page. The webviewer control accepts only the type 'com.stimulsoft.report.StiReport' of the object.
We can only put this type of object in the session. 'pageContext.setAttribute("report", report);'
Our environment requires that the object that places the session must implement Serializable.
I still do not know how to do it? please help me.
Thanks
Re: NotSerializableException: com.stimulsoft.report.StiRepor
Hello.
You can do next way:
You can do next way:
Code: Select all
<stiwebviewer:webviewer report="<%=report%>" options="${options}"/>
Re: NotSerializableException: com.stimulsoft.report.StiRepor
Hello,Vadim wrote:Hello.
You can do next way:Code: Select all
<stiwebviewer:webviewer report="<%=report%>" options="${options}"/>
This program we have tested before, found that it does not work.We guess this question whether or not because your code put the report into the session. We need is no session, do not put anything into the session.
Thanks
Re: NotSerializableException: com.stimulsoft.report.StiRepor
Hello.
We add implements Serializable, you can use it from next version.
We add implements Serializable, you can use it from next version.