This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
If I have a jsp file which has contentType="text/html;charset=UTF-8", and I would like to type some chinese words in the text box and submit to server and then save to db (varchar2). I try to use new String(mytext.getBytes(request.getCharacterEncoding()), "UTF-8"); or new String(mytext.getBytes(request.getCharacterEncoding()), "gb2312"); but the result still "???". Could anyone know how to solve it?