Re: connecting to DB with JDBC
Posted in 2000
En Asya Kamsky va escriure el dia 22 Jul 2000, a les 4:17: > I'm running 9.21UC1 with the latest JDBC drivers and using > the JLogin applet from Informix's example.informix.com site. > > When I run it as a standalone applet, it connects to the DB > quite fine. However when I run it in a browser (with the > <applet> HTML tag) it fails to connect. (it loads the > jdbc drivers fine, but then when it tries to connect with > the same parameters, it gets a -908). > > Anyone know what black magic is involved in accessing the DB > from an applet running in a browser? > > -- > Asya Kamsky > webmaster, The Next Generation Swing Dance Club, http://www.tngsdc.org > never speaking in official capacity. Applets have great security restictions. An Applet ONLY can connect to the same host from it was donwloaded. If you want connect to another hosts use CORBA, RMI or.... ??? I hope this help you. --------------------------------------- Isidre PONS ROCA BASE - Gesti' d'Ingressos Locals (Diputacio de Tarragona) Servei de Sistemes d'Informacio Av President Lluis Companys 12-C 43005 - Tarragona SPAIN Tel # +34 977 236731 Fax # +34 977 227302 http://www.altanet.org ipons@dtgna.altanet.org ---------------------------------------