aspose file tools*
The moose likes JSP and the fly likes how to assign request.getParameterValues to bean object? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "how to assign request.getParameterValues to bean object?" Watch "how to assign request.getParameterValues to bean object?" New topic
Author

how to assign request.getParameterValues to bean object?

Arulmozhi Govindaraju
Greenhorn

Joined: Feb 20, 2013
Posts: 17
String Proj[]=request.getParameterValues("Project");

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

Joined: Aug 11, 2011
Posts: 440

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

I am unable to understand your question here .


Muhammad Saif Asif Mirza
OCJA(5/6) OCJP(6) OCJWCD(6)
Arulmozhi Govindaraju
Greenhorn

Joined: Feb 20, 2013
Posts: 17
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

Joined: Aug 11, 2011
Posts: 440

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
 
subject: how to assign request.getParameterValues to bean object?
 
Similar Threads
naming dynamic form elements
Johannes' assigment log edititing????
session problem.....Urgent Plz
how to get multiple values from drop down box
how to get more values (request.getparameter("Project")==null ?"" : request.getParameter("Project")