java example exception in viewer.jsp
-
- Posts: 34
- Joined: Mon Sep 18, 2017 6:07 am
java example exception in viewer.jsp
I'm trying to run the java demo in my local environment.
With the viewer.jsp, I've got this problem.
java.lang.RuntimeException: java.net.MalformedURLException: no protocol: /Data/Demo.xml
Please help, Thanks.
With the viewer.jsp, I've got this problem.
java.lang.RuntimeException: java.net.MalformedURLException: no protocol: /Data/Demo.xml
Please help, Thanks.
Re: java example exception in viewer.jsp
Hello.
In class com.stimulsoft.MyLoadAction you can define path to database, it seems that folder Demo not available.
In class com.stimulsoft.MyLoadAction you can define path to database, it seems that folder Demo not available.
-
- Posts: 34
- Joined: Mon Sep 18, 2017 6:07 am
Re: java example exception in viewer.jsp
Thanks for your reply, could you provide a full java demo package? I've downloaded the package from github but failed to run the viewer.
-
- Posts: 34
- Joined: Mon Sep 18, 2017 6:07 am
Re: java example exception in viewer.jsp
Is there a manual for the flash designer?
Re: java example exception in viewer.jsp
Hello.
You can use github package, but configure path to Database in MyLoadAction.java
StiXmlDatabase xmlDatabase = new StiXmlDatabase("Demo", "/Data/Demo.xsd", "/Data/Demo.xml");
Documentation you can find here https://www.stimulsoft.com/en/documentation
You can use github package, but configure path to Database in MyLoadAction.java
StiXmlDatabase xmlDatabase = new StiXmlDatabase("Demo", "/Data/Demo.xsd", "/Data/Demo.xml");
Documentation you can find here https://www.stimulsoft.com/en/documentation
-
- Posts: 34
- Joined: Mon Sep 18, 2017 6:07 am
Re: java example exception in viewer.jsp
Hi Vadim, Thank you so much. Stimulsoft report is awesome.
Re: java example exception in viewer.jsp
Hello.
We are always glad to help you.
Let us know if you need our help.
Thank you.
We are always glad to help you.
Let us know if you need our help.
Thank you.
-
- Posts: 34
- Joined: Mon Sep 18, 2017 6:07 am
Re: java example exception in viewer.jsp
Hi Vadim,Vadim wrote:Hello.
We are always glad to help you.
Let us know if you need our help.
Thank you.
I've got another question for you.
We're trying to integrate the java HTML5 version in our project, and can we pass a json object parameter as data source to a report, either for the designer or viewer?
Thanks.
Re: java example exception in viewer.jsp
Hello.
Yes, you can use Json datasource.
Yes, you can use Json datasource.
- Attachments
-
- json.PNG (45.5 KiB) Viewed 6193 times
-
- Posts: 34
- Joined: Mon Sep 18, 2017 6:07 am
Re: java example exception in viewer.jsp
The json file data source means a json format file, not a json object, by which I mean, some json object could not be set dynamically as the data source, right?