Is it possible to add to the available parameters of a request (HttpServletRequest)

前端 未结 6 1698
天涯浪人
天涯浪人 2020-12-14 22:50

I want to intercept a request in a filter/servlet and add a few parameters to it. However, the request does not expose a \'setParameter\' method and the parameter map when m

6条回答
  •  生来不讨喜
    2020-12-14 23:24

    Why don't you just store variables as Request scope attributes instead of trying to append them to the request parameters?

提交回复
热议问题