Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Jochen Szostek
Ranch Hand
Posts: 42
Android Google Web Toolkit Spring
  • Mark post as helpful
  • send pies
  • 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!
 
Zack Marrapese
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic