Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

s:select issues

 
Jonathan Sobel
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm getting the "tag 'select', field 'list', name 'user.challengeQuestion': The requested list key 'questions' could not be resolved as a collection/array/map/enumeration/iterator type" error and am at a loss as to why...

My jsp


my action method


My struts.xml file


ApplicationContext.xml


I know the list objects are being populated on instantiation because I wrote a test to ensure that was the case. I'm just at a loss now as to what could possibly be wrong here. I think I've been staring at it too long.
 
Lorand Komaromi
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a public getQuestions() in your action class?
 
Jonathan Sobel
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
 
Lorand Komaromi
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Weird.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic