Hi,
This certainly can be done with servlets. One approach would be to give
the user a HTML form, with fields to fill in, and use the 'submit' on
this to contact a servlet. The servlet would contain JDBC elements
linking this to your database, and would return the results of the query
to the user's browser as dynamically generated HTML (note - applets
aren't necessary, although it is another way of doing things).
If you check out the JDBC & Servlet sections of the Tutorial, I think
you'll see how it would all fit together - it is pretty straightforward
& effective, and once you've got the basic system set up, seriously
versatile.

Cheers,
Danny.

"Jihad J. Richa" wrote:
>
> Dear all,
>
> I am trying to build an applet that needs to connect to the several remote
> and local DBMSs (3 remote and 1 local) for data retrieval in response to a
> user input request.
>
> Since I am new to this, I thought using a servlet engine would allow me to
> do that.  But all I can figure out is that the servlet can only respond to
> the browser with a message of some sort to be displayed (the JSDK
> documentation also talked about MIME, but I am not sure how that could be
> used.)  Idealy what I would like to do is have the servlet return the data
> elements the user requested from the DBMS (just to fill the empty fields in
> the displayed applet after the user submits the query.)
>
> Can this be done using a Servlet ? and How ?
> If not, what tools should I be using to do that ?
>
> Thank you all in advance.
>
> Jihad
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

--

Intermittent Web site :
http://members.xoom.com/dayers/_XOOM/dayers/index.html


Alternate email :
[EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to