• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Where should I place Bootstrap template?

 
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just came to know that there is a standard maven directory structure that one must adhere to and so I re-do my project using Maven archetype-webapp.

However, the jsp page is not taking in the bootstrap as before.

This bootstrap template consist of the css, font files in order to make the site looks the way I want it.

So far, I have attempted to put it at src/main/resources like this :

src
  ->main
     -> java
        ->business
        ->Controller
        -> model
      resources
      -> webapp
          >WebContent -> Bootstrap
          >web-INF

But, it is just not rendering the template layout

So, this layout is basically the one suggested at

https://stackoverflow.com/questions/15529184/where-to-place-twitter-bootstrap-files-in-a-maven-project

Even, when I tried out the The "src/main/webapp" folder, it is also not working.

Please help me out on this cos it's driving me crazy and really I doubt I will ever complete my project......may be even when I become so old and can't walk also cant complete it
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic