Database  applet error in web browser

hi to all
i have query in applet.
MY APPLET IS USING ODBC AND CONNECTING TO ACCES.
I HAVE CREATED POLICY FILE SO THAT I CAN DISPLAY APPLET IN APPLETVIEWER.
APPLET RUNS FINE IS APPLETVIEWER WITH FOLLOWING COMMANDLINE
Appletviewer -jDJava.security.policy = pol label.htm.
however when i try to display applet in web browser, it display
following error message "load-Can't instantiate class"
any help will be welcome

@MITZ:
Christ, stop hijacking and multi-posting this same question all over the place!!!
http://forum.java.sun.com/thread.jspa?threadID=707757
http://forum.java.sun.com/thread.jspa?threadID=5186205
http://forum.java.sun.com/thread.jspa?threadID=5190321
http://forum.java.sun.com/thread.jspa?threadID=5187789
http://forum.java.sun.com/thread.jspa?threadID=5190317
@people who want to answer MITZ:
I suggest doing so in the thread which was posted in the Signed Applets section of this forum:
http://forum.java.sun.com/thread.jspa?threadID=5190324

Similar Messages

  • Character in chart of bw query display error in web browser

    our system is unicode system,default language is chiniese(ZH)
    our IGS patch level is 11
    system basis release is 700 patch 13,and BW patch level is 15
    everything is ok
    but when we execute the query in WEB browser,the chart display error like the image below:
    [http://www.xhschool.com:82/yuuki/viva/zh.jpg|http://www.xhschool.com:82/yuuki/viva/zh.jpg]
    the text of kpi in the chart display error as the squares.
    how can i make it correct?

    Hi,
    you have to download and install igshelper.sar as described in note 1028690.
    Regards, Kai

  • Opening OEM for two Oracle 11gR2 Databases in the same web browser automatically log out.

    Hi to everyone,
    I have an issue regarding Oracle Enterprise Manager in 11gR2. I have two database (SWPROD, PDPROD) in a single server. When I open the OEM URL for  SWPROD it is successfully logged on but when I open the OEM URL for PDPROD and successfully logged on the other tab for SWPROD will automatically logged out. And when I switch to the other tab for PDPROD it is also automatically logged out. Both OEM URL is open in a single web browser like Mozilla Firefox. What would be the reason why both OEM URL will be logged out when I open them at the same time?
    Thank you for your incoming response.

    Well it seems the only way to clear these out of EM was to shut BOTH RAC nodes down and power them up one at a time.  Now the updates aren't shown as required and my compliance score is where it should be.
    Is this a bug ?  Seems pretty stupid to have to shut down both RAC nodes to fix this.  Powering a single RAC node off and back on did not clear this.
    Unless i'm missing something??

  • Can applet close the Web browser window it embedded in?

    I know that a link or button in the Web browser can close the browser window. But I really don't if the applet can also do it.

    This site does have a search function you know, and if thats too much trouble there is google:
    http://www.google.com/search?q=site%3Asun.com+%22java+to+javascript%22&ie=UTF-8&hl=nl&lr=
    This should point you in the direction of a thing called JSObject
    Here is some code since I have this in my archive anyway:
    the html file:
         <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
                  height="0" width="0" >
            <param name="code" value="someApplet.class" />
            <!--[if !IE]> Mozilla/Netscape and its brethren -->
            <object classid="java:someApplet.class"
                    height="0" width="0"
                    >
            </object>
            <!-- <![endif]-->
          </object>
    <LABEL id="lblOutputText">This text is the HTML text </LABEL>the applet:
    // new class for jsObject!!!! compile this: javac -classpath "C:\Program Files\Java\j2re1.4.2_01\lib\plugin.jar" someApplet.java
    // since jaws.jar does not exsist anymore
    // in 1.4.0 to compile: javac -classpath "C:\j2sdk1.4.0_03\jre\lib\jaws.jar" someApplet.java
    import netscape.javascript.*;
    public class someApplet extends java.applet.Applet {
        JSObject win;
        public void init() {
             try{
                 win = JSObject.getWindow(this);
    // you need win.eval("window.close();"); // to close the window. if the current window is not a popup
    // opened by a parent with window.open than the user will get a waring, your next question probably will
    // be "can I stop this warning" and the answer is simple: NO
                 JSObject textBoxLabel = (JSObject) win.eval("document.getElementById('lblOutputText')");
                 textBoxLabel.setMember("innerHTML", "<center><h1>Some text</h1></center>");
            }catch(Exception e){
                 e.printStackTrace();
    }

  • SRM 4.0-- Blank Page displayed without Errors  through Web Browser

    Hi All,
    Can any one help me in the following ....
    We are trying to give access through the Web Browser instead of Sap GUI.
    we have started all the services through SICF.
    when we tried test service through WEB GUI it is showing  a blank page.
    It is not giving any errors on the page.
    there is no problem in the URL..
    Can any one help me by giving option of errors and where to check.....
    Bye
    Suresh

    Hi
    Read this ->
    <u>The entries in table TWPURLSVR should be as follows:
    e.g.</u>
    LOGSYS : MRDCLNT100
    WEB SERVER : SAPDEV14.XEROX.COM:8001
    WEB PROTCL:HTTP
    WIN SERVER:SAPDEV14.XEROX.COM:8001
    WIN PROTCL:HTTP
    BSP SERVER:SAPDEV14.XEROX.COM:8001
    BSP PROTCL:HTTP
    <u>Also, refer to OSS Note 790727 describes the details for publishing all the services</u>
    Refer
    <b>why can I not find Service BBPGLOBAL in TA SICF?
    for details.
    Regards
    - Atul

  • Database applet not working in browser

    I am working on windows 2000 server. I have an applet that connects to a ms access database.Everything works in appletviewer. When i try to view the applet in ie i get the following error:
    Error: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc)
    null
    Error: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc)
    null
    access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc)
    Basically i am trying to serve the applet on IIS. When I try to access the html page from
    a different machine, the applet loads and looks good except fails to connect with the database and display
    data.
    Any help will be highly appreciated.
    fnjoel

    You are not allowed to access Databases directly form an applet
    This is a security issue in Java Applets.

  • Applet crashing the web browser

    Hello group!
    I have just done a simple applet that is embedded in a html.
    Every time I close the html, the browser sends and error report. I am thinking that maybe I should have included a close method into the applet or aomething like that.
    Please, help me because is quite a nuisance to have this problem every time I run the html page.
    public class "name" extends Applet{
    public void init(){
    public boolean action(Event event, Object what) {
    Thanks for your help.
    EBU.

    Hi EBU
    Must to have more info to talk about but consider such details:
    1) customize "stop" and "destroy" methods since there is not a "close" method in Applet class.
    2) use System.gc() to dispose/release unnused objects and variables, should free some memory and memory management is the real problem that causes browser to crash. Remember that win is a bad manager.
    3) Using Sun JVM as default? Try it. There will be no surprise if crash stops.
    4) Make an extra effort and deploy using SWING so you will have better applets in functionality with less system dependency.
    If nothing solves the problem, please detail it as possible, debug it and post new questions.
    Regards.

  • How to display applet in the web browser?

    Hi Just want to ask help. Im making an application and i want to display applet in JSP. The problem is when i run my application there's no display in the browser. I already try to put the JSP and the Java Class with the same folder but still not working. Kindly help me with this one..
    Code:
    <jsp:plugin code="appletImage.class" codebase="applet" type="applet">
    </jsp:plugin>
    With this one i put my class in a package

    I think (correct me if im wrong) that that is the old way to do it i.e. it is now deprecated and that the recommended way now is to use the object tag
    Old deprecated way example
    <APPLET code="Bubbles.class" width="500" height="500">
    Java applet that draws animated bubbles.
    </APPLET>New recommended way example
    <OBJECT codetype="application/java"
            classid="java:Bubbles.class"
            width="500" height="500">
    Java applet that draws animated bubbles.
    </OBJECT>

  • Problems with applet loading in web browser

    Hi,
    I am using IE 6, and the JRE is 1.4.2 the problem I am facing is, in my application applet is not getting loaded.. I treid with JRE 1.5 and even JRE 1.4.1. in both cases its working .. but with JRE 1.4.2.. its giving the problem.. can some one please give the reason why it is happening so. and provide me some solution??
    Thanks in advance

    Is JRE 1.5 and 1.4.1 installed on the same machine? If so , how are you switching the JRE versions?
    Please let me know the whole scenario. Thanks.

  • Communicating between Applets on same web browser page.

    I one wishes to do variable/function calls between seperate applets on one page,
    -is there a simple way to do this (i.e. a global context object as a go between)?
    Could I have/be pointed to an example?

    Global context indeed. Your Applet will have a getAppletContext() method which returns an... AppletContext! And that has a getApplet(String) method which gets a reference to some other applet in the same context. The API documentation for that method contains more information than what I've posted here.

  • Need to have an applet in web browser-- HELP

    I have been trying to have the prefuse Graphview applet in a web browser...
    The following is my HTML file
    <html>
    <head>
    <title>Prefuse Demo</title>
    </head>
    <body>
    <applet code="GraphView.class"
    archive="demos.jar,prefuse.jar,prefuse.src.jar"
    width="400" height="400">
    </applet>
    </body>
    </html>
    I am getting the following error when running on the web browser
    java.lang.NoClassDefFoundError: GraphView (wrong name: demos/applets/GraphView)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    I have been on this for 2 days.....really frustrated......
    1)All classfiles (GraphView.class) / jar files (got using the build.bat prefuse and build.bat demos) and
    the htmlfile (GraphView.html) is stored in C:\Documents and Settings\Rudolph\Desktop\prefuse-beta\demos\prefuse\demos\applets
    Can u shed more light on this problem.
    Thanks
    ---! Rudolph

    Try specifying the 'code' attribute for the applet tag in the following manner:
    <applet code="org/apache/maven/plugins/grafo/gui/applets/GraphViewApplet.class"
    archive="maven-grafo-plugin-1.0-SNAPSHOT.jar,prefuse-beta-20060220.jar"
    width="800" height="500">

  • Self closing web browser when we reload a java3D applet!

    Hi,
    Recently, I opened a web site based on a new concept of sport gaming and I chose java3D for the portability and the capability to run as an applet in a web browser.
    But until now I don't know why the browser exit when we try to change the game, for example from football to basket-ball.
    After all we can always restart the browser but I don't know if it is a garbage collector problem or a browser problem, I try it with Mozilla-Firefox (Redhat and Suse) and Internet Explorer (Windows Me and 2000).
    the example code in the principal applet class is:
    public void destroy() {
    espaceBasket.destroy();
    System.gc();
    and in espaceBasket where is the universe etc. :
    public void destroy() {
    u.cleanup();
    If you want to execute the applets go to :
    www.mysportbridge.com
    Any comment...
    Thank you

    Thanks for the speedy reply.
    I understand that JCO connections should be closed properly, and I've read the attached note previously.
    What I'm actually looking for is a timeout connection for the Http/s session that can be seen in the Visual Administrator under:
    Monitoring > Services > Security > Agrregated Data > ActiveSessionsCount.
    The number of active session remains very high although there are no users logged onto the system.
    Regards
    Amesh

  • How to launch my java application in a web browser?

    Hi. I try to launch my java application, e.g. "HellowWorld.java", using web browser.
    1. How can I change my java application program to java applet in general way?
    I read "Java: An Introduction to Computer Science and Programming, Third Edition"
    by Walter Savitch and found page 803 - "Converting a Swing application to an applet".
    My question is how I can know which class should be removed or not such as using JApplet instead of JFrame. Are there general rules about this?
    2. I found "AWT only" tutorial had some example lauching application using "AppletButton".
    How can I use this method to launch "HelloWorld.class"?
    http://java.sun.com/docs/books/tutorial/information/download.html#OLDui
    (after extracting zip file) -> ../OLDui/layout/card.html
    3. (continued 2) Can I use above method to embed applet into web browser?
    For example, java Swing application -> applet using "AppletButton" -> web browser using "<applet></applet>" tag.
    I'd appreciate any partial anwers of these questions or other suggestions.
    Thanks.

    Thanks! Here is what I got from your help.
    * HelloWorldSwing.java is a 1.4 example that
    * requires no other files.
    import javax.swing.*;  
    import java.awt.*;                //for Container class    
    //  public class HelloWorldSwing {
       public class HelloWorldSwingToApplet extends JApplet {
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
    //    private static void createAndShowGUI() {
          private void createAndShowGUI() {
            //Make sure we have nice window decorations.
    //        JFrame.setDefaultLookAndFeelDecorated(true);
            //Create and set up the window.
    //        JFrame frame = new JFrame("HelloWorldSwing");
    //        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         Container frameApplet = getContentPane();
            //Add the ubiquitous "Hello World" label.
            JLabel label = new JLabel("Hello World");
    //        frame.getContentPane().add(label);
         frameApplet.add(label);
            //Display the window.
    //        frame.pack();
    //        frame.setVisible(true);
          public void init() {
           createAndShowGUI();
    /*    public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }

  • Web browser capability in an extension

    I am writing an extension, for which I need to embed a html browser component in the html pages of the extension.
    Have tried the following without any success
    1. Used with a simple <iframe> - looks like DW does nto support iframe in extensions.
    2. Tried to embed an applet that has web browsing capability (JDIC)
    3. Adobe AIR app (using mx:HTML component) - but running an AIR app inside a browser requires the user to have AIR runtime also.
    4. Adobe Flex app that inernally used iframe inside the swf file.
    1,2,4 works when I open the html in browser, but not within DW.
    Today i came across this link -
    http://livedocs.adobe.com/en_US/Dreamweaver/9.0_Extending/help.html?content=dwr_extending_ ex_09.html
    - that clearly says that DW does not support applets and ActiveX in extensions.
    So, how do i go about with my objective ? Are there any ways i could do this.
    Plz help.
    - Ganesh

    Hi
    Could you give a little more info in the way of detail(s), on exactly what you are trying to do.
    If the info would give too many details away, you can send a reply through the personal messages section from your profile.
    PZ

  • JMF works in Applet View, but in web browser, cannot find device

    I'm developing an Applet which can capture image from a web camera.
    It's working very well in the applet view, but it says "No devices" error message through web browser.
    How can I make it work? How can I find device on the web browser?
    I changed permission using "java JMFRegistry", and tried signed Jar.
    Anyone can help me?
    or some of samples would be appreciated...

    Applet view means Applet viewer..

Maybe you are looking for

  • I want to call a variable in another application

    Greetings, I asked previously a similar question but I didn't got a solution to my problem, so i'll explain in details my problem: I have a Java File called Senior.java, and another one called Properties.java Properties.java is a dialog box that I ca

  • Help in Performance Tunning

    Hi, I am looking for some help in tuning a query and details are below. SELECT NVL(B.START_DATE_TIME,            A.START_DATE_TIME) START_DATE,        NVL(B.CUST_PRODUCTION_SEQ_NUM,            A.CUST_PRODUCTION_SEQ_NUM) PROD_NUM,        A.HEADER_ID N

  • Currency in report taken from regional setting and not infocube

    Dear All, I am facing very strange issue. I am using BEx analyzer 7.0 I executed a report in Windows 2000, Excel 2003. The values are displayed correctly with currency which is in cube irrespective of the currency set in regional option in control pa

  • Substituting Reference field in BKPF with Trip Number

    Hi, We have a requirement from our client, where in we are required to suffix the reference number field in BKPF with a letter "A", when the posting document contains the text "Advance" in Vendor Line Item. To give a brief idea we are creating Advanc

  • How to load external SWF used sharing library.

    Hi~~~ Before ask the question, plz understand my bad English.. Recently I try to load the Swf file that is maded by Flash CS 6.0. Especially it used shared library.. When I try to load this SWF, I used FileStream instead URLRequest. This is because t