🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: aus.computers.java
3 messages
3 total messages Started by Prescott Pym Fri, 16 Jul 1999 00:00
CGI and Java
#1102
Author: Prescott Pym
Date: Fri, 16 Jul 1999 00:00
10 lines
1107 bytes
Gday again.

I'm having some trouble.  I can't figure out how to work Java and a cgi
request.  What I want to do is to collect some information from a web page
through a POST or GET method.  This would call a batch file (I'm running
win98), and invoke the java interpreter.  I can't figure out how to read the
data from the web browser, and how to get it back.

Any help much appreciated
Prescott
Re: CGI and Java
#1105
Author: Tom Davies
Date: Sat, 17 Jul 1999 00:00
24 lines
1619 bytes
Prescott Pym wrote:
> 
> Gday again.
> 
> I'm having some trouble.  I can't figure out how to work Java and a cgi
> request.  What I want to do is to collect some information from a web page
> through a POST or GET method.  This would call a batch file (I'm running
> win98), and invoke the java interpreter.  I can't figure out how to read the
> data from the web browser, and how to get it back.
> 
> Any help much appreciated
> Prescott

The best thing to do with Java is to use Servlets rather than CGI. This
means that you don't start a new process for each request, and so is
*much* faster.

You don't say which web server you are using. Have a look at
www.servletcentral.com and go to their 'resources' section for a list of
servlet compatible web servers for your platform. The only one I've used
on Win32 is Jetty (www.mortbay.com) but there are many others which will
work.

Tom
Re: CGI and Java
#1114
Author: David Hecksel
Date: Sat, 24 Jul 1999 00:00
52 lines
2498 bytes
This is a multi-part message in MIME format.
--------------F90F7DF58984371353141EB9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Let me recommend Java Servlets.   The Servlet API is similar to CGI, except
cleaner and intutiive (my opinion).

Let me suggest Live Software's JRUN Servlet engine.  To get started, let me
suggest you use the JRUN Servlet engine, along with the JRUN Web Server they
include in the JRUN distribution.  Later, you could connect JRUN to IIS or NES,
but for getting started it's easier to use the provided JRUN webserver.

http://www.livesoftware.com

--------------
Considering the Certified Java Programmer Exam?
Get JCertify! - an interactive training solution
http://www.axtive.com/jcertify
JCertify is currently in the top 10 selling products at http://www.buyonet.com

Prescott Pym wrote:

> Gday again.
>
> I'm having some trouble.  I can't figure out how to work Java and a cgi
> request.  What I want to do is to collect some information from a web page
> through a POST or GET method.  This would call a batch file (I'm running
> win98), and invoke the java interpreter.  I can't figure out how to read the
> data from the web browser, and how to get it back.
>
> Any help much appreciated
> Prescott

--------------F90F7DF58984371353141EB9
Content-Type: text/x-vcard; charset=us-ascii;
 name="java.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for David Hecksel
Content-Disposition: attachment;
 filename="java.vcf"

begin:vcard 
n:;java@dhc.net
x-mozilla-html:FALSE
version:2.1
email;internet:java@dhc.net
x-mozilla-cpt:;0
fn:java@dhc.net
end:vcard

--------------F90F7DF58984371353141EB9--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads