Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Cannot retrieve definition for form bean StudentBean on action /studentList?listAction=acceptRejectU

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Venkat,

As You suggested I changed the action path name different from action type in UI.

I got the below error.
 
Ranch Hand
Posts: 329
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sandeep,
Change capital 'B' to small. It should work.

Aditionally, is not correct way to set a forward
 
Sandeep Jidagi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 329
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.. Shankar...

Thank You.. That Error is gone.. I'll forward with this. I'll post if any errors I found.
 
Sandeep Jidagi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 329
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sandeep,
Please close the thread which was resolved and create a new one.
 
I have a knack for fixing things like this ... um ... sorry ... here is a consilitory tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic