java的重定向有两种方式forward和redirect
我现在才用到了redirect,先记下来,以免忘记
redirect必须包含在try-catch中
我现在才用到了redirect,先记下来,以免忘记
try{
redirect("http://hsys.iteye.com/admin");
}catch(Exception e){
}
redirect必须包含在try-catch中