This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I am using HTML as a front end with java. My html form has two fields, Name, and Id. But, in database i have created 3 columns, Name,Id and Username. Username should have the concatenated value of Name,and Id. I have to concatenate them in java class. How to do that?
Suppose Name entered is 'ONE', and ID,'100', then username should be 'ONE100'. Will concat() of String class will work for this?