Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can a JSF page work without managed bean entry in faces-config.xml

676071Aug 6 2011 — edited Aug 10 2011
Hi

I am a JSF newbie. I was working on a sample application on JSF 1.2 with Tomcat. After working on some 5-6 screens, I realized that I hadn't made any entries to faces-config.xml (in fact the xml is empty other than the "faces-config" tag). But the application goes on working fine. So, "#{item.name}" successfully maps to "com.any.entity.Item". My class doesn't have any annotation either.

How does JSF know which class to pick? Does it look at the bind name in this instance and searches for a class with its camel-case text in all of class-path.


Thanks in advance
Kumar
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 7 2011
Added on Aug 6 2011
3 comments
145 views