TrequestHeader

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

TrequestHeader的相关文章

SuperSocket1.6Code解析

SuperSocket1.6Code解析 Normal Socket System.Net.Sockets.dll程序集中使用socket类: 服务器: 创建socket:_socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); 创建IP:IPAddress _ip = IPAddress.Parse(ip);_endPoint = new IPEndPoint(_ip, port