How to request complete query string in Spring MVC?

前端 未结 4 1785
感情败类
感情败类 2021-01-11 17:33

In Spring MVC, I can do this to get a value of items on the query string:

    public void sendMessage(HttpServletResponse response,
                                  


        
4条回答
  •  离开以前
    2021-01-11 17:56

    Something like this you need to do:

        public void sendMessage(HttpServletResponse response,
                                   @RequestParam("Session Id") String sessionId, HttpServletRequest request,..
        {
       String qString= request.getQueryString();
    

提交回复
热议问题