谈谈SSH开发中权限的控制

通过编写一个继承RequestProcessor的MyRequestProcessor类, 并重写方法protected ActionForward processActionPerform(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form,
ActionMapping mapping)然后根据请求的路径
如http://localhost:8080/xxyy/product.do?action=list
和数据库的相关信息来判断有无操作权限, 还有别的什么方法, 请各抒高见.

你可能感兴趣的:(AOP,ssh)