MONICA GARCIA QUESADA wrote:
> First really thank you,
>
> I am not sure, my problem is than I am triying to use a resultset of a jdbcobdc
>connection in an applet and I have think make a servlet that make the connection and
>have a function than return the resultset , but the applet can no timport the class
>of the servlet ??
> [...]
Hi:-) I suggest you use the following way:
client-side Servlet
DB
Java-Applet -> doGet/doPost...
(access DB with JDBC, get data) <-> data...
<- (return data to Applet)
normally, you can-not/don't-need to:
- import Servlet class in Applet
- use the method of Servlet in Applet Directly
with your Applet, you can:
- (ask the Servlet contianer to) invoke doGet/doPost... of Servlet
- then access the DB with JDBC, and get data
- then return data to Applet
Bo
June 19, 2001
___________________________________________________________________________
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