This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
When the page loads firstly it displays the textbox properly.But when I click a hyperLink and the control goes to the AddHierarchyNodeAction class and then returns back to the same page it shows the following error.(The error persists even if I keep my action class blank)
Invalid argument looking up property: "addhierarchyVO.tcrmTx.tcrmObject.hierarchySearchBObj.hierarchyName" of bean: "org.apache.struts.taglib.html.BEAN"
Why is this happening?
Joined: Jul 10, 2010
Ok.Found the solution to my problem(after a lot of googling).All that I needed to do was to instansiate the bean in my action class..Since ,if the property of a bean is null it shows property not found exception
This is what I wrote in my action class