• 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

How can I tell JSF that my jsp files are in a different folder than webroot?

 
Ranch Hand
Posts: 42
Android Google Web Toolkit Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I'm new to JSF and everything works ok if I put my jsp files in my webroot (and call them via the .faces extension).

But if I want to put my jsp files in a WEB-INF/jsp folder it can't find my jsp files. (which of course is kinda logical) I still want them to be available via the same URL.

So how can I define a different jsp folder in JSF?

Thanks!
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can still access any folder that's in your web content folder by making the URL reflect the file structure.
 
Jochen Szostek
Ranch Hand
Posts: 42
Android Google Web Toolkit Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Zack Marrapese:
You can still access any folder that's in your web content folder by making the URL reflect the file structure.



Yes that's true, but I don't think you're allowed in the /WEB-INF/ folder that way (so it seems), because I tried that already.

Thanks for the reply
 
reply
    Bookmark Topic Watch Topic
  • New Topic