偉送頁 to.jsp
<%@ page contentType="text/html; charset=big5" %>
<a href="from.jsp?word=<%=java.net.URLEncoder.encode("二廠成型","big5")%>">傳送字符</a>
接收頁 from.jsp
<%@ page contentType="text/html; charset=big5" %>
<%
request.setCharacterEncoding("big5");
if(request.getParameter("word") != null){
String bb = request.getParameter("word");
out.print(bb);
}
%>