desiboy1974
asked on
java plug in question
hi
can someone help me with this..
<OBJECT classid='clsid:8AD9C840-04 4E-11D1-B3 E9-00805F4 99D93'
width=600 height=400 MAYSCRIPT
codebase='http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,0'>
<PARAM name='archive' value='peoplechat.jar,clas ses12.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>
<COMMENT>
<EMBED type='application/x-java-a pplet;jpi- version=1. 4' width='200'
height='200' align='baseline' code=value='PeopleClientAp plet.class '
pluginspage='http://www.java.com/en/download/download_the_latest.jsp'>
<NOEMBED>
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>
</NOEMBED>
</EMBED>
</COMMENT>
</OBJECT>
$sql = "insert into sub.peoplechat_log(CUSTOME R_NO,ACTIV E,LOGDATE, NAME)
values('$custno','Y',sysda te,'$cust' )";
$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?
can someone help me with this..
<OBJECT classid='clsid:8AD9C840-04
width=600 height=400 MAYSCRIPT
codebase='http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,0'>
<PARAM name='archive' value='peoplechat.jar,clas
<PARAM name='code' value='PeopleClientApplet.
<PARAM name='type' value='application/x-java-
<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>
<COMMENT>
<EMBED type='application/x-java-a
height='200' align='baseline' code=value='PeopleClientAp
pluginspage='http://www.java.com/en/download/download_the_latest.jsp'>
<NOEMBED>
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>
</NOEMBED>
</EMBED>
</COMMENT>
</OBJECT>
$sql = "insert into sub.peoplechat_log(CUSTOME
values('$custno','Y',sysda
$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?
delay the table insert until you recieve the connection.
ASKER
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
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.