Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

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

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 4995
319
IntelliJ IDE Python Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Duplicate of this thread.

Please CarefullyChooseOneForum, and do not create duplicate topics.

Locking.
 
There are 29 Knuts in one Sickle, and 17 Sickles make up a Galleon. 42 tiny ads in a knut:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic