• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Frontman 2.0 viewsPath

 
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic