How do I get a servlet container to read JSESSIONID from the query string rather than from the URL?

Not possible. I'd create on your side a filter which redirects the request to the proper URL whenever an URL arrives with the JSESSIONID in the query string.

Not possible. I'd create on your side a filter which redirects the request to the proper URL whenever an URL arrives with the JSESSIONID in the query string. Basic kickoff example: @Override public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain) throws IOException, ServletException { HttpServletRequest request = (HttpServletRequest) req; HttpServletResponse response = (HttpServletResponse) res; if ("GET".

Equals(request.getMethod()) && request. GetParameter("JSESSIONID")! = null) { response.

SendRedirect(request.getRequestURL(). Append(";JSESSIONID=") . Append(request.

GetParameter("JSESSIONID")).toString()); } else { chain. DoFilter(request, response); } } Map this on an URL pattern which covers requests which could potentially originate by that site. Or if there is none, just on /*.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions