public String detect() throws Exception{
String currentUser = (String)getSession().get("currentUser");
if(currentUser==null){
log.info("session is timeout");
returnPageURL = "/timeoutRedirect.jsp";
return "redirect";
}
log.info("session is not timeout");
returnPageURL = "/system/detect/computer_detect.jsp";
return "dispatcher";
}
?