• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Getting null while trying to get value of Multiple list

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am facing strange problem, I have JSP and servlet. The values in jsp are coming from DB. there are two multiple list boxes where i will move the data across, when i am trying to get the values of the list box i am getting null. when i retrieve first list box i am getting the values, when i am trying to get the values of list box 2 then i am getting null. Can anyone please help.

List box names subServiceList1 and subServiceList2


JSP:



Serlvet Code:

 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's pretty difficult to comprehend that code.

Have you verified they're being sent (like by using Firebug or a debugging proxy etc.)?
 
Gopi Kishore
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the response David, I verified will firebug it doesn't seem any problem. I am getting all the values from the form except the second list subServiceList2 .

The following is the output.

selectedSubList : null
ParameterNames : SubServiceAllocationPageBtns
ParameterNames : subServiceList1
ParameterNames : serviceCode
 
I think I'll just lie down here for a second. And ponder this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic