Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issue: Form bean not being populated.

 
Rajkamal Pillai
Ranch Hand
Posts: 445
1
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am using Struts 1.2 and JDK 1.5 for a project I am working on. I have declared my <html:form> with action=XXX and in the struts-config the <action> is defined by the same path. In the same tag I have a name attribute specifying the Form Bean associated with this Action. When the request reaches the execute method the ActionForm is an instance of this derivative but the values chosen are not being populated in the Form Bean. This particular Form has multiple <html:select>. I am not able to get the values chosen for any of the select boxes.

Could you help me with this?
 
Rajkamal Pillai
Ranch Hand
Posts: 445
1
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Checked the log files and there is an exception occurring. Its "No FormBeanConfig found under 'XXX'." Now that is confusing as the type of the FormBean I get in the execute() method is the one as declared in the <form-bean> definition.

My <action> is thus:-



This is my <form-bean>


Could someone please help me out?

Cheers,
Raj.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic