Join two Strings

Join two Strings



We can use below code to join two or more strings and we can use them as single string


String firstname=pageContext.getParameter("itemid1");

String lastname=pageContext.getParameter("itemid2");

String result=fname+lname;

OAMessageStyleTextBean msg=(OAMessageStyleTextBean)WebBean.findChildRecursive("itemid");

ifmsg!=null)
 {
msg.setValue(pageContext.result);

}

Post a Comment

0 Comments