• Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting a parse error when running a jsf application in tomcat  RSS feed

 
laxi ram
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to jsf and am getting a parse error when running a simple form. The error says "/enternameform.xhtml @17,59 value="#{register.firstName}": Target Unreachable, identifier 'register' resolved to null"
enternameform.xhtml


Register.java



missing.xhtml



registrationsuccess.xhtml



web.xml
 
Tim Holloway
Bartender
Posts: 18715
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You defined "Register" as a managed bean, but you didn't define what scope it should be assigned to.

Try adding the "@ViewScoped" annotation to the Register class definition.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!