Hi All,
I need to store each string value in a String array.
Please help me how to do this.
I have following snippet of code
billingQueryParamsItr = billingQueryParamList.iterator(); //billingQueryParamList is list which I am getting from database
while(billingQueryParamsItr.hasNext()) {
billingQueryParam = (BillingQueryParam) billingQueryParamsItr.next();
System.out.println("****** Param Name-->"+billingQueryParam.getParamName()); // billingQueryParam.getParamName() returns an String and I need to set this value in billingItemActionForm.setParamName(String[] value), like below
billingItemActionForm.setParamName(billingQueryParam.getParamName());// giving compilation error as I am passing String
//Pls help how to convert this string into String array and set the same value in form bean.
}
Thanks in advance....!!!