Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

build a dynamic form with an arrayList

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I change ArrayList to HashMap, it works. I don't know why.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic