1. 程式人生 > >用struts的攔截器實現使用者許可權控制

用struts的攔截器實現使用者許可權控制

 步驟1、匯入struts2的庫。

 

步驟2、編寫Interceptor類。

步驟3、寫struts2配置檔案struts.xml

注意:實現登入的action要排除聯結器範圍