user1377822
user1377822

Reputation: 679

Twitter Bootstrap with Spring MVC

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 focused Bootstrap with Spring MVC.

What are the the steps in terms of configuration involved to integrate the frameworks?

Thanks

Upvotes: 36

Views: 61934

Answers (2)

Mohamed Dernoun
Mohamed Dernoun

Reputation: 825

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

Upvotes: 4

Deividi Cavarzan
Deividi Cavarzan

Reputation: 10110

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.

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.

Upvotes: 43

Related Questions