aspose file tools*
The moose likes Struts and the fly likes Why the 'initial' in the form-bean Does Not Automatically Populate the Form? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Why the Watch "Why the New topic
Author

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

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why the 'initial' in the form-bean Does Not Automatically Populate the Form?