🍉 Meet Flexmonster Pivot Table & Charts 2.9.Check out all the hot features!
Get Free Trial

Problem with trial version integration.

Sumukh asked on August 9, 2019

I had a requirement for pivot table in my project so while searching for the same I came across FlexMonster.
I wanted to try out the trial version of FlexMonster to determine whether it is compatible with our system but I was not able to embed with our system.
My product uses JS/Jquery, Java Spring, MS SQL at the backend & TomCat Server.

I tried to embed the trial code to my JSP page with the license key provided during the download but the flex monster js and CSS files were not loading (Failed to load resource: the server responded with a status of 401 (Unauthorized)).
Please suggest the correct way to embed in Java and tomcat.
And also I did see the Integration with JSP in docs but we don’t use maven so I found it difficult to integrate.
Please help we are looking forward to buying the license if it works.
Thank you

1 answer

Dmytro Zvazhii Dmytro Zvazhii Flexmonster August 12, 2019

Hello Sumukh,
Thank you for writing to us.
We would like to mention that it is possible to integrate Flexmonster in a JSP page using pure javascript:
1) Copy the flexmonster/ folder from the downloaded trial package to the appropriate location in your project (for example, the resources folder).
2) In the JSP page specify the path to flexmonster.js.
3) Specify the path to the flexmonster/ folder in the componentFolder property of the new Flexmonster() object.
According to the error you have described, it seems that the component folder was not set up correctly, or there is the problem with the path to resources not being found.
Depending on your project set up, the following links may be of help:
1) https://stackoverflow.com/questions/26276603/how-to-include-js-and-css-in-jsp-with-spring-mvc
2) https://crunchify.com/spring-mvc-4-2-2-best-way-to-integrate-js-and-css-file-in-jsp-file-using-mvcresources-mapping/
Please let us know if it solves the case.

Please login or Register to Submit Answer