dear all
im trying to deny any users whose session is not exist, access to my webpage
thus im using the source code
Map ses = ActionContext.getContext().getSession();
if((ses.get("context").toString()=="")&&(ses.get("role").toString()!="admin")){
 //redirect to login page
}
However, i dont know which command should i use to redirect to the login
page
Please help me
Thank you very much


-- 
=======================================================================
Ritsumeikan University, Asia JinZai Project
Master of Information Science
Nguyen Xuan Son

Add       : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
Rien, Room 103
Tel/Fax  : 81-(0)90-3976 2246
Email    : nr000...@ed.ritsumei.ac.jp
Mobile   : 81-(0)90-3976 2246          URL  : http://www.ritsumei.jp
=======================================================================

Reply via email to