• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

java plug in question


can someone help me with this..

<OBJECT classid='clsid:8AD9C840-044E-11D1-B3E9-00805F499D93'
    width=600 height=400 MAYSCRIPT
<PARAM name='archive' value='peoplechat.jar,classes12.jar' >
    <PARAM name='code' value='PeopleClientApplet.class'>
    <PARAM name='type' value='application/x-java-applet;jpi-version=1.4.2'>
     <PARAM NAME='custno'  VALUE=\"$zcust\">
      <PARAM NAME='cust' VALUE=\"$custname\">
        No Java 2 SDK, Standard Edition v 1.4.2 support for APPLET!!
        <a href=\"http://www.java.com/en/download/download_the_latest.jsp\">click to install</a>
                    <EMBED type='application/x-java-applet;jpi-version=1.4' width='200'
                       height='200' align='baseline' code=value='PeopleClientApplet.class'
                            No Java 2 SDK, Standard Edition v 1.4 support for APPLET!!
                                    <a href=\"http://www.java.com/en/download/download_the_latest.jsp\">click to install</a>

$sql = "insert into sub.peoplechat_log(CUSTOMER_NO,ACTIVE,LOGDATE,NAME)

$ora_sql = OCIParse($oracle_conn,$sql);

ociexecute($ora_sql) or die("Couldn't execute sql query!");

if someone doesnt have the plug in installed..it does install it for them...but i dont want it to inset into the table unless they have finished installing and log in..is there a way to do it..

whats happening is if someone logs in..thye dont have the plug in..they click yes..it installs..i dont actually creat the socket connection until then..but i insert into the table on the html page as i dont wanna have oracle connection within the applt..

so the proces flow is launch applet..insert into table , enter the applet and create socket..
but i dont want it to insert unless the plug in is successful..makes sense?
  • 2
1 Solution
delay the table insert until you recieve the connection.
desiboy1974Author Commented:
but in that case..i have to insert the table within the applet code...after the socket connection..i'm trying to avoid any oracle connections within the applet.i want to do it on the page thats launching the applet
no i meant do the insert (on the server) when the server recieves the connection from the applet.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now