Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to use progressbar.js with data from database  RSS feed

 
Emily Green
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My project structure is like this :


        com.project1.controller
             LoginController(@controller)
             RestController(@RestController)

        com.project1.models
             clients
        com.project1.repositories
              clientRepository
        com.project1.services


     src/main/resources
          static
                -css
                -js - progressbar.js
                -images
          templates
                -displaycharts.html

Right now , in my displayCharts I can show charts with manually filled data as input for it. What I want to be able to do is get the needed values from the database and give them as input to a chart in the thymeleaf or js file that calls the progressBar chart functions.

How do I achieve this in Spring ? Any guidance? It's my first time using this
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!