• Post Reply Bookmark Topic Watch Topic
  • New Topic

@managedbean annotation doesn't work

 
maro desokey
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
index.xhtml content:




UserBean.java content:




i should be able to call bean method... but i can't, it will work only if i create faces-config.xml file



i'm using tomcat 6 with eclipse-jee-indigo-SR2 and using these liberaries

JSF 2.0 (Apache Myfaces JSF Core-2.0 API 2.0.2)
jsf-api.jar
jsf-impl.jar
jstl-api-1.2.jar
jstl-impl-1.2.jar
jsf-facelets.jar

how can i solve this problem?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!