I am afraid, but could you tell me how can I return data to applet
M�nica Garc�a Quesada
Mercados y Tecnolog�as
Grupo Desarrollo Internet
SOLUZIONA TELECOMUNICACIONES
SERVICIOS PROFESIONALES DE UNI�N FENOSA
Infanta Mercedes, 31 -2� Pl.
28020 MADRID
TEL.: 915793000
FAX 915790708
E-MAIL: [EMAIL PROTECTED]
www.soluziona.com
www.ipt.es
>>> Bo Xu <[EMAIL PROTECTED]> 06/19 5:54 >>>
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
___________________________________________________________________________
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