• Post Reply Bookmark Topic Watch Topic
  • New Topic

Best way to handle a String[ ]

 
Chris Boldon
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using the struts tag select, with multiple selection possiblities. It outputs and String[]. This addition was added after the project was almost done so I dont want to rewrite the data access layer to include another table to handle it. What is the best way to handle this now? Parse to a deliminated string? hashmap?
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!