Hello! I've got the following problem in an action-class: I dynamically want to retrieve the ActionForm class, which has been called before the Action-class.
Statically, I do this with ActionFormClass afc = (afc)fm; How is it done dynamically? I've got the String name of the desired Class-Name in an Hashtable. I tried it with reflection, but stuck: Class classDefinition = Class.forName(ClassName_as_string); classDefinition afc = (classDefinition)fm; The last line gives the error: cannot find symbol classDefinition symbol : class classDefinition Has anybody an idea, how to do it? Thanks, Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]