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

2006-10-23 Thread Gunnar.Bostrom
edge is not good enough. > > Any one out there who knows how to do this? > > Regards > Gunnar > > > > -Ursprungligt meddelande- > > Från: Mark Thomas [mailto:[EMAIL PROTECTED] > > Skickat: den 19 oktober 2006 13:24 > > Till: Tomcat Users Li

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

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: 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

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

2006-10-17 Thread Gunnar.Bostrom
ber 2006 12:26 > Till: Tomcat Users List > Ämne: Re: SV: SV: SV: Problem with filter and calling > Perl-script with Tomcat 5.5.20 > > Not sure to understand, u mean that u can't reach the request > object in your filter since u are using Tomcat 5.5.20 ? > > [EMAIL PROT

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

2006-10-17 Thread Michael Courcy
Not sure to understand, u mean that u can't reach the request object in your filter since u are using Tomcat 5.5.20 ? [EMAIL PROTECTED] a écrit : 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 wo

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

2006-10-17 Thread Gunnar.Bostrom
TECTED] > Skickat: den 17 oktober 2006 12:07 > Till: Tomcat Users List > Ämne: Re: SV: SV: Problem with filter and calling Perl-script > with Tomcat 5.5.20 > > Ok that should not be that hard to POST with java, your > filter is acting like a client. > > have a look th

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

2006-10-17 Thread Michael Courcy
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 Ämne: Re: SV: Problem with filter and calling Perl-script with Tomcat 5.5.20 Can&#x

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

2006-10-17 Thread Gunnar.Bostrom
ill: Tomcat Users List > Ämne: Re: SV: Problem with filter and calling Perl-script > with Tomcat 5.5.20 > > Can't u use > > request.sendRedirect("myperlscript.cgi?aparam="+request.getPar > ameter("blah")); > > Mic > > [EMAIL PROTECTED] a

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 m

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

2006-10-16 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] > Skicka