Fix the compatibility issue between Spring 4.0 and struts2 ; add user check for session