in reply to Running a Perl script...

I've got the javascript one!
You can't.
I haven't done JSP ( I live for mod_perl ), but I bet it looks something ( not ) like this:
Output = Your.OperatingSystem.Shell[0].RunThisCommand( 'perl program.p +l' ).Output;
Enjoy!
--
Casey