Twitter Bootstrap with Spring MVC

后端 未结 2 762
我在风中等你
我在风中等你 2021-01-30 03:59

I\'d like integrate Twitter Bootstrap with an existing Spring MVC Project. Search returns abstract results with no tutorials or articles that outlines how to integrate the UI fo

相关标签:
2条回答
  • 2021-01-30 04:49

    Twitter Bootstrap is a framework for CSS elements, and also some popup and HTML tricks. You can simply put your bootstap.css, jquery.js and bootstrap.js into your existing Spring MVC JSP pages. There is no secret to using both together; it's quite simple.

    You can take a look in those examples. They may be useful to you.

    • Example 1 - priyatam's GitHub Spring MVC bootstrap showcase. This is a good one, a complete project and ready to run
    • Example 2 - Duckranger's Spring MVC and Twitter Bootstap

    Remember that Spring MVC will provide to you all data (via JSON or Model attributes) to build yout HTML file. Bootstrap will only personalize the theme of your page and, sometimes, calling Spring MVC REST endpoints to get Ajax data.

    0 讨论(0)
  • 2021-01-30 05:01

    this is a good easy tutorial show you how you can integrate a bootstrap to an existing Spring MVC project

    Beautify your Java web application with Bootstrap

    0 讨论(0)
提交回复
热议问题