Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的操作类中有一个 ID 请求参数,当它被拦截时,拦截器如何读取此 ID 参数进行检查以验证用户身份。
用于ActionContext获取参数映射:
ActionContext
Map<String, Object> parameters = ActionContext.getContext().getParameters();