| Author |
Cannot retrieve definition for form bean StudentBean on action /studentList?listAction=acceptRejectU
|
Sandeep Jidagi
Greenhorn
Joined: Apr 23, 2012
Posts: 9
|
|
Hi All...
I'm getting the above mentioned error please help me out..
I'm pasting my sample codes below. I tried to remove unwanted parts of code..
Struts-config.xml
display.jsp
Error messages
|
Thanks and Regards,
Sandeep
|
 |
krishna sv
Greenhorn
Joined: Apr 27, 2012
Posts: 1
|
|
Actually mentioned action type in UI component is being same as in action path in struts config file,its a way we have to put names both are same.we are requested to one and matched with the action path-name in action-mappings should be same in this situation.Just change those if its working then ok else let me know the reason.
Thanks,
Venkat.
|
 |
Sandeep Jidagi
Greenhorn
Joined: Apr 23, 2012
Posts: 9
|
|
Hi Venkat,
As You suggested I changed the action path name different from action type in UI.
I got the below error.
|
 |
Shankar Tanikella
Ranch Hand
Joined: Jan 30, 2011
Posts: 329
|
|
Hi Sandeep,
Change capital 'B' to small. It should work.
Aditionally, is not correct way to set a forward
|
Have Fun with Java
little,little.. little by little makes a lot..
|
 |
Sandeep Jidagi
Greenhorn
Joined: Apr 23, 2012
Posts: 9
|
|
Hi.. shankar..
I cannot change the 'B' to small. cause its the name of my Bean Class. Even i'm using that name in different places and its working fine. and secodn suggestion i made change to it: here is the change :
and its the same error i'm still facing.
Plese Help Me...
|
 |
Shankar Tanikella
Ranch Hand
Joined: Jan 30, 2011
Posts: 329
|
|
Hi Sandeep,
I am not pointing to your bean, I mean the bold B in form-Bean used in the above line
|
 |
Sandeep Jidagi
Greenhorn
Joined: Apr 23, 2012
Posts: 9
|
|
Hi.. Shankar...
Thank You.. That Error is gone.. I'll forward with this. I'll post if any errors I found.
|
 |
Sandeep Jidagi
Greenhorn
Joined: Apr 23, 2012
Posts: 9
|
|
Hi Shankar Tanikella,
I made all the changes about not finiding Bean. Now i'm getting the new error, error line pasted below. Even I pasted my requestListDisplay.jsp and struts-config.xml files.
No getter method available for property selectedStudents for bean under name StudentBean
requestListDisplay.jsp
struts-config.xml
Please Help Me.
|
 |
Shankar Tanikella
Ranch Hand
Joined: Jan 30, 2011
Posts: 329
|
|
Hi Sandeep,
Please close the thread which was resolved and create a new one.
|
 |
 |
|
|
subject: Cannot retrieve definition for form bean StudentBean on action /studentList?listAction=acceptRejectU
|
|
|