Page 6 of 7
Re: java example exception in viewer.jsp
Posted: Wed Nov 29, 2017 11:27 am
by Vadim
Hello.
Please describe where in code you setup key ?
Re: java example exception in viewer.jsp
Posted: Thu Nov 30, 2017 6:12 am
by xiaohaoxifei
The problem is resolved now, it's my fault.
Sorry for the disturbing.
Re: java example exception in viewer.jsp
Posted: Thu Nov 30, 2017 2:55 pm
by Andrew
Thank you letting us know abou this.
Re: java example exception in viewer.jsp
Posted: Wed Dec 06, 2017 10:00 am
by xiaohaoxifei
Is there a way to keep a distance of the title and the y-axis number. It's too close now.
Re: java example exception in viewer.jsp
Posted: Fri Dec 08, 2017 12:26 pm
by Vadim
Hello.
It will be fixed in next version
Re: java example exception in viewer.jsp
Posted: Mon Dec 11, 2017 12:53 am
by xiaohaoxifei
OK, Thanks.
Re: java example exception in viewer.jsp
Posted: Tue Dec 12, 2017 1:06 pm
by HighAley
Hello.
Our next build is already on our site.
We are always glad to help you.
Thank you.
Re: java example exception in viewer.jsp
Posted: Mon Dec 18, 2017 12:28 am
by xiaohaoxifei
Hello there, I've got an error occurred when using the "Send Email" function in the viewer page.
Why?
Another question: Can we generate .pdf or excel format report using Java. We wanna to send the report as an attachment by email. Could we achieve that, how?
Thanks a lot.
Re: java example exception in viewer.jsp
Posted: Tue Dec 19, 2017 8:41 am
by Vadim
Hello.
You must configure your smtp server to send mails, for example:
Code: Select all
StiMailProperties mail = new StiMailProperties();
mail.setPassword("password");
mail.setUserName("username");
mail.setFrom("username@mail.com");
mail.setSmtpPort(465);
mail.setUseSSL(true);
mail.setHost("smtp.mail.com");
pageContext.setAttribute("mail", mail);
<stiwebviewer:webviewer report="<%=report%>" options="${options}"
mailProperties="${mail}" viewerID="MyViewer" />
You need JavaMail API libs
You can use com.stimulsoft.report.StiExportManager class to export report to many formats & than send it manually.
Re: java example exception in viewer.jsp
Posted: Wed Dec 20, 2017 12:14 am
by xiaohaoxifei
Great, thanks.
And now we got another problem.
Please help with it.