user3782196
user3782196

Reputation: 113

Is faces-config.xml file automcatically create?

I tried to create simple JSF facelet project in Netbeans IDE.

I did the following steps in Netbeans.

Select framework - Java Server faces
Registered libraries is JSF2.0
Preferred Language is facelet.

I am not able to find the faces-config.xml file under WEB-INF in netbeans IDE. Do i need to create faces-config.xml file manually, or netbeans IDE will generate automatically?

Upvotes: 3

Views: 6904

Answers (1)

Baderous
Baderous

Reputation: 1069

JSF 2.0 doesn't require faces-config.xml. I don't have Netbeans installed now but if you want it to create faces-config.xml for you, you should try: New file -> JSF -> JSF Faces config.

Upvotes: 3

Related Questions