jsp 页面跳转问题
if(temp!=0) {
out.println( "<HTML><HEAD><META http-equiv='refresh' content='1;
URL=zhuti.jsp?i_id='"+i_id+"' target=Main></HEAD><BODY bgcolor='#FFFFFF'></body></html>");
}
跳转到的页面zhuti?i_id= 为空怎么办?
如何能得到这个动态参数i_id ?
------解决方案--------------------
貌似多了个单引号吧?
if(temp!=0) {
out.println( "<HTML><HEAD><META http-equiv='refresh' content='1;
URL=zhuti.jsp?i_id="+i_id+" target=Main></HEAD><BODY bgcolor='#FFFFFF'></body></html>");
}