wood burning stoves 2.0*
The moose likes Struts and the fly likes build a dynamic form with an arrayList 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 "build a dynamic form with an arrayList" Watch "build a dynamic form with an arrayList" New topic
Author

build a dynamic form with an arrayList

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
I want to build a dynamic form with an arrayList. But have an classCasting exception. Anybody can help me ?

Anybody has example war file for a dynamic form with an arrayList ?

Thanks.

------------------

struts-config

action class

The error message
Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 798
If I change ArrayList to HashMap, it works. I don't know why.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: build a dynamic form with an arrayList
 
Similar Threads
internal error: (No action instance for path /lookup could be created)
DynaActionForm Error
struts-config.xml:Why form def need a separate section?
How to get a new instance of a form bean?
New to struts, please help