In Spring MVC, I can do this to get a value of items on the query string:
public void sendMessage(HttpServletResponse response,
Something like this you need to do:
public void sendMessage(HttpServletResponse response, @RequestParam("Session Id") String sessionId, HttpServletRequest request,.. { String qString= request.getQueryString();