Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Face-config.xml file can not be found in netbeans

 
Farhad Rahmati
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

I have just started Java EE 6, I am following some tutorials on the internet. I need to manage navigation and I really need to edit face-config.xml file. Can any one help me to find it.

I am using, JSF 2. and I know it does not require, but in my case it may require as it is not working by default.

Thanks
 
Tim Holloway
Bartender
Posts: 18423
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The default name of the JSF config file is WEB-INF/faces-config.xml. And it's "faces-config", not "face-config".

Despite what some people think, annotations don't always mean that you don't need a faces-config.xml file. Not everything that faces-config.xml declares have corresponding annotations. However, it sounds like you may not be properly configured for JSF annotation scanning. Since that's a NetBeans issue, you may need to ask in the IDEs forum.
 
Farhad Rahmati
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you very much

 
Hey, sticks and stones baby. And maybe a wee mention of my stuff:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!