tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Problem with filter and calling Perl-script with Tomcat 5.5.20
Date Mon, 16 Oct 2006 15:09:11 GMT

I've a problem with the new 5.5.20 Tomcat version.
I think this has to do with this bug fix

The problem is that I have a filter that adds a parameter before the
CGI-filter calling out to a Perl-script.

This code worked with Tomcat 5.5.17 and works with 5.5.20 if the request
is a GET but not a POST.

This is the relevant code:

HttpServletRequest httpServletRequest = (HttpServletRequest) request; 
HashMap<String, String[]> parameters = new HashMap<String, String[]>(
   (HashMap<String, String[]>) httpServletRequest.getParameterMap());
httpServletRequest = generateWrapper(httpServletRequest, parameters);
chain.doFilter(httpServletRequest, response);

Can you advise me what to do?


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message