SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-23 Thread Gunnar.Bostrom
Hi, I've no manged to get things working with Tomcat 5.5.20. I've changed my servlet filter so it appends the parameter to the query string as proposed. As I now understand it the standard CGIServlet will not work if there is a servlet-filter that do getParameters() and adds a new parameter as

SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-19 Thread Gunnar.Bostrom
Hi, That is odd because I have the following problems: 1) When I post an ordinary form, not a multipart, no parameters will be sent to the Perl script. 2) When I post a multipart form I get everything OK, but not a parameter that my servlet filter introduced. We have done some changes now to

Re: SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-19 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Hi, That is odd because I have the following problems: 1) When I post an ordinary form, not a multipart, no parameters will be sent to the Perl script. And light dawns. Sorry - should have spotted this sooner. You call getParameterMap() in your filter which will

SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-17 Thread Gunnar.Bostrom
Hi, The problem is not to get the parameters in my java filter. The problem is that I need to pass the posted parameters from the form plus one additional parameter to my Perl script. Regards Gunnar -Ursprungligt meddelande- Från: Martin Gainty [mailto:[EMAIL PROTECTED] Skickat:

Re: SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-17 Thread Michael Courcy
Can't u use request.sendRedirect(myperlscript.cgi?aparam=+request.getParameter(blah)); Mic [EMAIL PROTECTED] a écrit : Hi, The problem is not to get the parameters in my java filter. The problem is that I need to pass the posted parameters from the form plus one additional parameter to my

SV: SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-17 Thread Gunnar.Bostrom
Hi, No I can't because it is a form with data posted that should be sent over to the Perl script and one additionally parameter. Regards Gunnar -Ursprungligt meddelande- Från: Michael Courcy [mailto:[EMAIL PROTECTED] Skickat: den 17 oktober 2006 11:05 Till: Tomcat Users List

SV: SV: SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-17 Thread Gunnar.Bostrom
Hi, My code is in a filter that executes before the CGIServlet in Tomcat kicks in. It worked with Tomcat 5.5.17 but NOT with Tomcat 5.5.20 and I would like to know if there is some workaround. Regards Gunnar -Ursprungligt meddelande- Från: Michael Courcy [mailto:[EMAIL PROTECTED]

SV: SV: SV: SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-17 Thread Gunnar.Bostrom
Hi, I can reach the request object and add a parameter, the problem is that the CgiServlet in Tomcat has been changed so my code doesn't work anymore. Regards Gunnar -Ursprungligt meddelande- Från: Michael Courcy [mailto:[EMAIL PROTECTED] Skickat: den 17 oktober 2006 12:26 Till:

Re: SV: SV: SV: SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-17 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Hi, I can reach the request object and add a parameter, the problem is that the CgiServlet in Tomcat has been changed so my code doesn't work anymore. Regards Gunnar You are correct. The fix for bug 37285 is the root of your problems. You have a couple of