Home › forums › Using CanvasJS › Using JSP
This topic contains 3 replies, has 2 voices, and was last updated by Vishwas R 4 months, 1 week ago.
I’m new to web development. My database professor had the bright idea to have us create a web based interface to a Postgres database that updates bar charts based on database queries in the last three weeks of the semester. Many of the students have little to no web dev experience and we have to figure it all out on our own. I managed to set up a Java/Glassfish/Postgres which will use JSP in a JavaFaces framework. I have a student license for CanvasJS and managed to get a JSP bar graph to display but it will not display on my start page only when I navigate to it from my start page. If I put the graph code from the page I downloaded on my start page I get a Java null pointer exception when I try to display it in a web browser. Any advice on how to do this would be appreciated.
Can you kindly share sample project along with sample database (over onedrive or google-drive), so that we can understand your code and scenario better and help you out?
Please take a look at JSP Gallery which has a wide range of examples showing how to render CanvasJS charts within JSP along with source-code. Also you can try downloading JSP Sample Project from download page, which you can run locally and try.
If these doesn’t help you fulfill your requirement, can you please create a sample project with the issue you are facing and share the onedrive/google-drive link, so that we can look into your code and understand the issue better and help you resolve that?
You must be logged in to reply to this topic.