File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to assign request.getParameterValues to bean object?

 
Arulmozhi Govindaraju
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • 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"));
 
Saif Asif
Ranch Hand
Posts: 440
Eclipse IDE Hibernate Linux
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
Eclipse IDE Hibernate Linux
  • 0
  • Mark post as helpful
  • send pies
  • 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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic