Win a copy of Functional Design and Architecture this week in the Functional programming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Struts action Multiselect box problem

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi , I have a typical problem with <html:select> multiselect drop box.In view of the business logic i need to pass on the selected values of the <html:select> box to another page and then from there redirect them to my action.Since the multiselect box stores the selected values in a String[] array, i have to store the values as a hidden string on the next page and from there when i call my action i need to reconvert the same back to String[] .Now, there can be a situation where in the String[] array can be null.My problem is that if the array is null,it still gets set to an array with one element which is an empty string.Can any one help me on this
    Bookmark Topic Watch Topic
  • New Topic