Win a copy of Terraform in Action this week in the Cloud forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Issue: Form bean not being populated.

 
Ranch Hand
Posts: 451
1
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 451
1
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic