日期:2014-05-17 浏览次数:20772 次
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
request.setCharacterEncoding("utf-8");
String title = request.getParameter("title");
String timelength = request.getParameter("timelength");
System.out.println("视频名称:" +title);
System.out.println("视频时长: "+timelength);
response.getWriter().write(title);
}
System.out.println("视频名称:" +new String(title.getBytes("iso-8859-1"),"utf-8"));