All you have to do is write a servlet to do this.  You are confusing
databases with web pages.  It doesn't matter where the database is...if it
is available on the network and you have a valid user account on that
database, then a servlet can connect to it.

If a servlet is running on machine A, and the database is on machine B, the
servlet can connect to the database.  So, in your doPost() method of your
servlet, accept the parameters of your Form, make your connection to the
database, get your results back, format your results, and then send them
back to the requester.  You will want to implement/extend HttpServlet when
you write your servlet.

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-----Original Message-----
From: Halil AKINCI [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 3:13 AM
To: Tomcat Users List; servlet-interest group; JSP groups;
jakarta-tomcat yahoo groups
Subject: querying remote databases


Hi,

I want to query remote databases, which are located in different computers
and different instituon by using servlets an JSP. For this purpose, I want
to send a parameter to this remote databases using an HTML form. And I want
to receive all responds and serve them in a HTML page to client. How can I
do that?

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to