• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

why i get null value ?

 
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi, good day everyone ..have a look in my function, my problem is couldn't get the value that already display in jsp by using mapped property for dynamic rows of record.

description :
as i generate a table's record row in jsp by passing list from action , it does display well , but problem is when i want to retrieve back the data from table, each row and the fields will have a fieldname as below detailModel(0), (1)..so on , where i couldn't get the value of detailmodel data, when i using log.debug() to display the value of detailmodel ...it show me null ..

jsp file


actionform :


extra note : i have try change the signature of setDetailModel() to setDetailModel(String index, String value) ...but it didn't display value as well ...

does anyone see what the problem that i facing .? thank you very much for guidance
reply
    Bookmark Topic Watch Topic
  • New Topic