• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Why the 'initial' in the form-bean Does Not Automatically Populate the Form?

 
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The form-bean in my struts-config.xml is specified like this:

My servlet extends Action has the following code:

The action mapping for this action is like:

If I call the action with the threadForm submitted, the application works fine.

If I call the action "without" the threadForm submitted, the server cannot get the 'initial' in the form-bean.

Something must be missing because the 'initial' should automatically populate the form if the server cannot find a form.

I really hope someone could spot the error.
 
reply
    Bookmark Topic Watch Topic
  • New Topic