"Chris Devers" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> On Wed, 3 Aug 2005, Sonia wrote:
>
>> I want to run PERL script which will combine several JAVA applications.
>
> This is possible.
>
>> Furthermore, I need this script to run in the HTML page.
>
> This is not possible.
>
> HTML is just a "markup language". It tells an application such as a web
> browser how to present the contents of the page text, but that's it. You
> can have HTML that includes or refers to Javascript (or *cough* *spit*
> VBScript) code, but the application interpreting the HTML handles it
> separately, if at all.
>
> If you want to mix HTML and Perl [note that it isn't capitalized; nor is
> Java for that matter], the common way to do it is with a CGI script. CGI
> scripts are programs that get run by a web server, accepting a request
> from that server, processing the result in some way -- such as by firing
> off Java programs in the background -- and then returning results back
> to the web client, typically in HTML format.
>
> You can run CGI scripts on your local computer IF you have a web server,
> but that's not necessarily a problem. Most versions of Unix will already
> include some version of the Apache web server, and there are many groups
> offering pre-packaged versions of Apache along with Perl, MySQL, and PHP
> for Windows. Once you have Apache installed, there's not much overhead
> to running things this way -- you just interact with things through a
> web browser on your computer using <http://localhost/myscript.pl> etc.
>
> If you want to do things this way, the beginners-cgi@perl.org list has
> been set up to help people get up and running with this sort of work.
>
>
> -- 
> Chris Devers

Chris,
Thanks for the response.  In fact that is exactly what I want to do.   And I 
know it can be done with a local web server.
Let me ask you this though.
Is there a way for me to utilize Javascript, or other script (such as PHP), 
in order to avoid using the web server?
Basically, like the original problem stated.. I will have several Java 
programs that will be linked via Perl script, and then I wish to present 
results back in HTML file.  So is there any way for me to do this without 
the web server?
Maybe Perl is not the way to go then? What do you think?
Thanks in advance,
Sonia



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to