日期:2014-05-18  浏览次数:20664 次

jsp 怎么接收javascript专递的参数,帮忙修改一下,谢谢
<script   language= "javascript ">  
function   queding(para){  
if(window.confirm( "确定要申请审核? "))  
{  
var   js_psno=para;  

window.location   =   ( "app_prg_appcheck.jsp?jspsno=js_psno ");  
}  
}  
</script>  

-------------  
jsp接收页面:  
<%  
int   psno   =   Integer.parseInt(request.getParameter(jspsno));  
out.print(psno);  
%>  
不对,怎么该?


------解决方案--------------------
window.location = ( "app_prg_appcheck.jsp?jspsno= "+js_psno);