Bookmark Topic Watch Topic
  • New Topic

What causes Backing Bean return null? How to resolve it?  RSS feed

 
Anirudh Lou
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello everyone I'm very new to javaweb and I tried to create my first javaweb project. However when some action were being invoke I received an error. Does anyone can help! Here is what I did:

Person.java



PersonEjbDao.java


FriendBean.java



show.xhtml




create.xhtml



details.xhtml




When tried to run my project what happened were:
1. When i clicked the link from show.xhtml



It output the page but without data being displayed.

but on the url it shows:

http://localhost:8080/javaeesample/faces/details.xhtml?pid=1

1. When i clicked 'Save' button in create.xhtml here is the error i received:

An Error Occurred:



I expand Stack Trace and it displayed



I don't know what makes my personBean.person.name null.

Any Help is very much appreciated.
 
Tim Cooke
Marshal
Posts: 3839
221
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
Duplicate of this thread.

Please CarefullyChooseOneForum, and do not create duplicate topics.

Locking.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!