public class TrequestHeader
{
public static void setCharEncoding(HttpServletRequest _request, String _strEncoding) throws UnsupportedEncodingException
{
_request.setCharacterEncoding(_strEncoding);
//_request.setCharacterEncoding("utf-8");
}
public static void main(String[] args)
{}
}
时间: 2024-11-05 18:35:40