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
subject: Invalid Argument looking up property Exception