GeeCON Prague 2014*
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


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.
 
GeeCON Prague 2014
 
subject: build a dynamic form with an arrayList