• 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

how to assign request.getParameterValues to bean object?

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
String Proj[]=request.getParameterValues("Project");

this value how to assign this claimMainDtlsObj.setAssinproject(request.getParameterValues("Project")==null ?"" : request.getParameter("Project"));
 
Ranch Hand
Posts: 440
Hibernate Eclipse IDE Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

this value how to assign this claimMainDtlsObj.setAssinproject(request.getParameterValues("Project")==null ?"" : request.getParameter("Project"));


I am unable to understand your question here .
 
Arulmozhi Govindaraju
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Saif Asif wrote:

this value how to assign this claimMainDtlsObj.setAssinproject(request.getParameterValues("Project")==null ?"" : request.getParameter("Project"));


I am unable to understand your question here .





actually i asking
how to write String Proj[]=request.getParameterValues("Project"); instead of claimMainDtlsObj.setAssinproject(request.getParameter("Project")==null ?"" : request.getParameter("Project"));
 
Saif Asif
Ranch Hand
Posts: 440
Hibernate Eclipse IDE Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just a null value check ? whats wrong with the code snippet you have written ? Isn't that doing the job for you ?
 
reply
    Bookmark Topic Watch Topic
  • New Topic