Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 Badass: Making Users Awesome this week in the Game Development 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