• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Frontman 2.0 viewsPath

 
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way to add more than one viewsPath?

Id like to categorize my jsp pages in different folders within the jsp folder. i.e. a folder for "site" and a folder for "administration". However debugging the code it looks like you can only declare one viewPath.

Below is what i currently have now that works fine but id like to add another entry for a administration folder.

Maybe i am just looking at this the wrong way?

 
Sheriff
Posts: 67266
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The intent was that you would set the view path to the root of the JSP hierarchy and use sub-folders for organization. For example, I always set it to WEB-INF/views and use sub-folders to segregate the view JSPs logically.
 
John Schretz
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, that makes sense, then i assume i would keep my css, js, images folders outside of WEB-INF. Im trying to nail down a re-useable file structure, in the past i have use apache in front of tomcat and just left it a a flat file structure, im trying to get away from that.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!