in reply to servlet to script
I suppose you could do a response.sendRedirect() from the Java servlet? IS the Perl script a CGI script? How about http://yourhost/cgi-bin/script.cgi?