?
Solved

java plug in question

Posted on 2005-03-03
3
Medium Priority
?
242 Views
Last Modified: 2010-03-31
hi

can someone help me with this..

<OBJECT classid='clsid:8AD9C840-044E-11D1-B3E9-00805F499D93'
    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,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>
        <COMMENT>
                    <EMBED type='application/x-java-applet;jpi-version=1.4' width='200'
                       height='200' align='baseline' code=value='PeopleClientApplet.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(CUSTOMER_NO,ACTIVE,LOGDATE,NAME)
            values('$custno','Y',sysdate,'$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?
0
Comment
Question by:desiboy1974
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 92

Expert Comment

by:objects
ID: 13454578
delay the table insert until you recieve the connection.
0
 

Author Comment

by:desiboy1974
ID: 13454620
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
0
 
LVL 92

Accepted Solution

by:
objects earned 2000 total points
ID: 13454688
no i meant do the insert (on the server) when the server recieves the connection from the applet.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses
Course of the Month9 days, 6 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question