我的动作类中有一个ID请求参数,当拦截该请求参数时,拦截器如何读取此ID参数进行检查以对用户进行身份验证。
使用ActionContext
获取参数映射:
Map<String, Object> parameters = ActionContext.getContext().getParameters();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.