CGI + databases + java
Posted on 1998-11-10
I'am making a programa in Java (applets) Client-Server.
The users access the systems with their browsers.
First they call an HTML initial page then
I have another pages wich have a Menu with options wich access
to the DataBases.
One option in the program is List the elements of a table.
What I want is list the elements of the table and Display them
in a HTML Table,
Somebody told me that this is possible that it is possible to
write server-side java (SERVLETS) or with CGI
JDBC offers possibilities to access databases.
but I really don't know how to do it.
Can Anybody give me THE CODE wich I have to write to do this?
What I need is that the server send me a HTML page
having a table with the result of the SQL question.
The final objetive of that table is that the user
can send it to the Printer.
I need to send this result to the
Printer so the easy way for me to do this is that the
server send me the results in a HTML page.
PD: I don´t know nothing of CGI so please be as clear as possible