请教大家个问题,
<%@ page contentType= "text/html;charset=gb2312 "%>
<%@ include file= "/inc/function.jsp "%>
<%
response.sendRedirect( "1.jsp?message= "+java.net.URLEncode.encode( "中文 "));
%>
运行提示错误:
symbol : class URLEncode
location: package net
import 要包含什么包进来?
------解决方案--------------------
URLEncoder
不是
URLEncode
------解决方案--------------------
呵呵 粗心