tomcat-users mailing list archives

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

I've a problem with the new 5.5.20 Tomcat version.
I think this has to do with this bug fix
http://issues.apache.org/bugzilla/show_bug.cgi?id=37285.

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());
fillUserInfo(parameters);
httpServletRequest = generateWrapper(httpServletRequest, parameters);
chain.doFilter(httpServletRequest, response);


Can you advise me what to do?

Regards
Gunnar

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message