Click to See Complete Forum and Search --> : executing perl code from javascript


poojapo
04-05-2007, 01:46 AM
Is it possible to execute Perl code from java script?
can you explain with a snippet?


I have installed apache-tomcat for the same.

In which folder should I paste the html file and the Perl file (uses cgi module) ?

Watts
04-06-2007, 03:15 PM
Look at some Ajax tutorials. You can use it to execute a server-side script such as Perl or PHP, etc.

felgall
04-06-2007, 03:27 PM
Is this question about Javascript or Java. Tomcat is used for running Java Server Pages - server side Java.

Java is nothing like Javascript - Completely different languages that work in completely different ways.