This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Choosing ActionForm at run time? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Choosing ActionForm at run time?" Watch "Choosing ActionForm at run time?" New topic
Author

Choosing ActionForm at run time?

andrew low
Greenhorn

Joined: Mar 22, 2005
Posts: 18
I want to use an action to accept the details for a CandidateBean - this bean wants to be abstract, and I want to have some sort of control that allows me to receive a bean of a child type of the candidate bean instead.

What are my first couple of steps - I'm confused as to how I might do this - should I point the form off to different actions depending on the bean type to be supplied (thus triplicating the effort) or is there an nice way to do this.

Sorry if this is a vaguely phrased problem.

Cheers

Andrew
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Choosing ActionForm at run time?
 
Similar Threads
difference between entity bean and session bean
Using bean after resultset
WSAD 5 Internal methadata mapping error
jsp request object
questions of using CMP