JSPservlet garbled to solve the small method

xiaoxiao2021-03-06  43

Import java.io.unsupportedEncodingexception;

String S1 = (String) Request.getParameter ("txtcondition");

Try {

S1 = new string (S1.GetBytes ("ISO-8859-1"), "GB2312");} catch (unsupporteencodingexcection e1) {e1.printStackTrace ();

转载请注明原文地址:https://www.9cbs.com/read-47710.html

New Post(0)