DavidEmmett
Programmer
Hi,
I have a JSP page which I want to do two things. The page takes user data entered in a form and writes it to a database. This already works. However, I then want to take this request, and forward the entire request on to an existing Perl script which processes and mails the data. Rewriting the Perl script in Java is not an option.
Can I use the RequestDispatcher.forward() method, using the RequestDispatcher object obtained using the request.getRequestDispatcher("my/perl/script.pl" method, or will the getRequestDispatcher not accept a path to a perl script?
Thanks in advance,
David
I have a JSP page which I want to do two things. The page takes user data entered in a form and writes it to a database. This already works. However, I then want to take this request, and forward the entire request on to an existing Perl script which processes and mails the data. Rewriting the Perl script in Java is not an option.
Can I use the RequestDispatcher.forward() method, using the RequestDispatcher object obtained using the request.getRequestDispatcher("my/perl/script.pl" method, or will the getRequestDispatcher not accept a path to a perl script?
Thanks in advance,
David