function addCookie()
{
var url = "news_read.jsp?title=" + encodeURI(encodeURI("伊朗称放弃美元作为外储地位 人民币或上位"));
window.location.replace(url);
{
var url = "news_read.jsp?title=" + encodeURI(encodeURI("伊朗称放弃美元作为外储地位 人民币或上位"));
window.location.replace(url);
}
<%!
String title = null;
%>
<%
title = URLDecoder.decode(request.getParameter("title"),"utf-8");
%>