Applet in Netscape question.

Hi, Applet in Netscape question.
When an applet is run by Explorer everything is OK when trying to run with Netscape (7.1) nothing happening
What is wrong here ???
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
WIDTH = "730" HEIGHT = "260"
codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4-
windows-i586.cab#Version=1,3,0,0">
<PARAM NAME = CODE VALUE = "Xaaa.class" MAYSCRIPT>
<PARAM NAME = ARCHIVE VALUE = "Ybbb.jar">
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">
<PARAM NAME="scriptable" VALUE="false">
<PARAM name="progressbar" value="true">
</OBJECT>
Thank you in advance !

Dear Experts.
Reading through previous Forum similar questions, I changed the code (down below)
Now I receive the message:
Click here to get the plugin
This is encouraging because before Netscape ignored the applet completely ...
However I already have plugin version 1.4.2_03 installed (and recognized by Explorer)
The question is still why the applet is not working with Netscape ?
Thank you in advance for your help?
<html>
<body>
<!-- HTML CONVERTER -->
<object
classid =" clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
codebase =" http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0"
width = 730 height = 260 >
<param name = CODE value ="Xaaa.class" >
<param name = ARCHIVE value ="Ybbb.jar" >
<param name =" type" value =" application/x-java-applet;jpi-version=1.4">
<param name =" scriptable" value =" false">
<param name="progressbar" value="true">
<comment> </comment>
<embed
type =" application/x-java-applet;version=1.4"
code =" Xaaa.class"
archive ="Ybbb.jar"
width = 730
height =260
scriptable = false
pluginspage =" http://java.sun.com/products/plugin/index.html#download">
<noembed> alt="Your browser understands the <APPLET>
tag but isn't running the applet, for some reason."
Your browser is completely ignoring the <APPLET>
tag! </noembed> </embed> </object>
<!--"END_CONVERTED_APPLET"-->
</html>
</body>

Similar Messages

  • Applets and Netscape 6!

    Hi there,
    I am not sure if this is the right forum to post my question. However, i saw some discussions reg. Applets on Netscape 6 and i guess that many of you might be familiar with the scenario.
    I'm having trouble getting any applets to work on Netscape 6 when I have HTTP authentication on the webserver enabled. The applet works fine under normal circumstances.
    Instead of loading the applet, I get a Java dialog box saying "Enter Network Password" and asks me to enter my username/password. This is a specific Java dialog box, complete with a picture of Duke, and it
    gives my firewall, digest and realm information.
    However, the dialog box doesn't accept my username/password, and doesn't
    display my applet.
    Here is what i captured on the Java console:
    ======= Default Browser Messages =========
    Java(TM) Plug-in: Version 1.3.0_01
    Using JRE version 1.3.0_01 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\hsivapatham
    Proxy Configuration: Browser Proxy Configuration
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Trace level set to 5: basic, net, security, ext, liveconnect ... completed.
    Registered modality listener
    Referencing classloader: sun.plugin.ClassLoaderInfo@5256fa, refcount=1
    =========== Loading the Applet... ==========
    Added trace listener: sun.plugin.navig.win32.AppletPluginPanel[SpeedDial,0,0,300x295,invalid,layout=java.awt.BorderLayout]
    Sending events to applet. LOAD
    Determine if the applet requests to install any HTML page
    Sending events to applet. INIT
    Sending events to applet. START
    HTML Installation finished.
    ===== Not sure what this means? =========
    Determine if the applet requests to install any JAR
    Jar cache option: null
    Jar archive(s): null
    Jar cache version(s): null
    Applet Installation finished.
    ====================================
    Opening http://10.1.1.126:90/SpeedDialApplet.jar
    Connecting http://10.1.1.126:90/SpeedDialApplet.jar with no proxy
    ======= Puts up a dialog box asking for username and password ==========
    Firewall authentication: site=VAANI/10.1.1.126:90, protocol=http, prompt=xpressa, scheme=basic
    Modality pushed
    Modality popped
    User selected: 0
    Opening http://10.1.1.126:90/SpeedDial.class
    Connecting http://10.1.1.126:90/SpeedDial.class with no proxy
    java.lang.NullPointerException
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
         at sun.plugin.protocol.jdk12.http.HttpURLConnection.checkCookieHeader(Unknown Source)
         at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.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)
    </code>
    Thanks for your help.
    Priya

    oops, i forgot to add this, can u tell me what speeddial.class is trying to do?
    i belive u r making a url connection in that class and u got a null exception.
    if u r indeed making a urlconnection, be sure to include the basic authentication in the headers. here is a sample
    String basicAuth = Base64Coder.base64Encode("username:password");
    basicAuth = "Basic " + basicAuth;
    java.net.URL url = new java.net.URL(strUrl);
    java.net.HttpURLConnection con = (java.net.HttpURLConnection) url.openConnection();
    con.setRequestProperty("Authorization", basicAuth);

  • Applet in Netscape

    My applet code is loading in Internet Explorer,But I have problem in loading the code in Netscape.Can any one suggest me how to load the applets in Netscape.
    --shiva                                                                                                                                                                                                                                                                                                                                           

    I am using IE 5.5 and Netscape 4.7.Plug in i am using is 1.3.I am sending the html file too.Thanks for replying.
    --shiva
    <HTML>
    <HEAD>
    <TITLE>Drawing Pad applet</TITLE>
    </HEAD>
    <body>
    <table border=1 width=405 height=505 >
    <tr valign=top>
    <td>
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
                   width="400" height="400" align="baseline"
                   codebase="http://<%=javaPluginServerPath%>/j2re1_3_0-win.exe#Version=2.4.1.0">
                        <PARAM NAME="code" VALUE="DServer.class">
                        <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
                        <PARAM NAME="cache_option" VALUE="Plugin">
                        <PARAM NAME="scriptable" VALUE="true">
                        <PARAM NAME="MAYSCRIPT" VALUE="true">
    </OBJECT>
    </td>
    </tr>
    </table>
    </body>
    </HTML>

  • Java Applet crashes Netscape upon Exit?

    Hello, I created an Applet that I am opening in NEtscape. When I make an attempt to exit (i.e. destroy) the APplet, it crashes the whole netscape. It even happens within Netscape 7. Is there a way around this since it makes a big problem for me to use the applet if it is going to crash my Netscape browser. I`ll appreciate any suggestions or comments, thanks Ivan

    The main class that everything is in is called GUI.java and it is a frame. In order to open this as an Applet in netscape, I created a GUI_RMIApplet.java file. And The GUI_RMIApplet.html file opens the GUI_RMIApplet.java file which in return opens GUI.java. The exit call is in GUI.java file.
    The html file code is as follows:
    <EMBED type="application/x-java-applet;version=1.3" CODE = "musr.client.gui.GUI
    _RMIApplet.class" CODEBASE = "." ARCHIVE = "jar/musr.jar" NAME = "MUSR GUI APPLE
    T" WIDTH = 400 HEIGHT = 300 ALIGN = middle VSPACE = 0 HSPACE = 0 UBBoption = "de
    velop" scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3/pl
    ugin-install.html">
    <NOEMBED>
    The GUI_RMIApplet.java code is:
    package musr.client.gui;
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import javax.swing.*;
    import java.rmi.Naming;
    import java.rmi.RemoteException;
    import musr.server.*;
    public class GUI_RMIApplet extends Applet {
    boolean isStandalone = false;
    String message = "The application will launch in a separate window";
    GUI_RMIServer obj = null;
    /**Get a parameter value*/
    public String getParameter(String key, String def) {
    return isStandalone ? System.getProperty(key, def) :
    (getParameter(key) != null ? getParameter(key) : def);
    /**Construct the applet*/
    public GUI_RMIApplet() {
    /**Initialize the applet*/
    public void init() {
    try {
    jbInit();
    } catch (Exception e) {
    System.out.println("GUI_RMI exception: " + e.getMessage());
    e.printStackTrace();
    /**Component initialization*/
    private void jbInit() {
    // Main bulk for this applet
    GUI gui = new GUI();
    gui.setVisible(true);
    public void paint(Graphics g) {
    g.drawString(message, 25, 50);
    /**Get Applet information*/
    public String getAppletInfo() {
    return "Applet Information";
    /**Get parameter info*/
    public String[][] getParameterInfo() {
    return null;
    //static initializer for setting look & feel
    static {
    try {
    //UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    //UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
    catch(Exception e) {
    And, the GUI.java class calls these funcitons when exit menu button is selected:
    GUI.this.dispose(); // disposes the frame
              System.exit(-1); // disposes the applet (?or not?)
    I think the System.exit button is messing things up but I don't know what other function I can use to close teh applet.
    Hope this is enough information.

  • Persistent applets in Netscape 7.x

    When I run my applet in Netscape 4.x,navigating to a different page cause my applet to get a stop() call, then pressing the "Back" button the applet gets a start() and I can resume the work. All the sockets are still open. Using the same applet in Netscape 7.x, I get a destroy() call and all the sockets are shutdown. This makes it impossible for me to resume my session when pressing the "Back" button.
    Is there a way to instruct the browser not to destroy the applet when the page is not visible?

    Is destroy overrideable? If so, just return from it.It's too late. I just get some exceptions and my sockets are closed. I need to avoid calling destroy() at the first place.

  • Reloading an applet closes Netscape 7.0 browser

    I'm loading an applet that loads an image web cam with JMF api. Everything works o.k. But after using the applet, if i go to another html page, loads it but the Netscape browser closes. I've looked at the Netscape java console and it gives me all these errors. Could anybody help me please, it's very urgent?
    I don't know how to solve this problem. Here's the code of my applet.
    import java.applet.*;
    import java.awt.*;
    import java.net.*;
    import javax.media.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class AppletSound extends JApplet {  
         MediaLocator mySound=null;
         Player soundPlayer=null;
    Component auControlComponent = null;
         String audio=null;
         public void init()
              audio=getParameter("audio");
              getContentPane().setLayout(null);
              setSize(300,50);          
         // Check that we have a valid URL and create URL object to hold it.
              if(audio.equals(""))
                   System.out.println("*Please specify one URL to play*");
              else     
                   mySound=new MediaLocator(audio);     
    try {
              soundPlayer=Manager.createRealizedPlayer(mySound);
              catch(javax.media.CannotRealizeException cre){}
              catch(javax.media.NoPlayerException npe){}
              catch (java.io.IOException e) {
    System.out.println("IOException...exiting.");
    //System.exit(1);
    if (soundPlayer == null) {
    System.out.println("soundPlayer is null...exiting.");
    // System.exit(1);
              auControlComponent=soundPlayer.getControlPanelComponent();          
              if (auControlComponent!=null)
              getContentPane().add(auControlComponent);
              auControlComponent.setBounds(5,5,295,40);
    validate();
         public void start()
              if(soundPlayer!=null)
              soundPlayer.start();
    public void stop()
    soundPlayer.stop();
         soundPlayer.deallocate();
    Here are the errors that I get from the Java Console:
    java.lang.NullPointerException
         at com.sun.media.rtp.RTCPTransmitter.makereports(RTCPTransmitter.java:225)
         at com.sun.media.rtp.RTCPTransmitter.report(RTCPTransmitter.java:129)
         at com.sun.media.rtp.RTCPReporter.run(RTCPReporter.java:215)
         at java.lang.Thread.run(Unknown Source)
    java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
         at java.util.Vector.elementAt(Unknown Source)
         at com.sun.media.rtp.RTPEventHandler.dispatchEvents(RTPEventHandler.java:114)
         at com.sun.media.rtp.RTPEventHandler.run(RTPEventHandler.java:137)
    java.lang.InterruptedException
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Unknown Source)
         at com.sun.media.rtp.SSRCCacheCleaner.run(SSRCCacheCleaner.java:157)
         at java.lang.Thread.run(Unknown Source)
    Timer: timeLoop() wait interrupted java.lang.InterruptedException
    Timer: timeLoop() wait interrupted java.lang.InterruptedException
    MediaNode event thread java.lang.InterruptedException
    MediaNode event thread java.lang.InterruptedException
    MediaNode event thread java.lang.InterruptedException

    It's me again altairforodigital, as you can see in the source code of the applet I load sound not a web image. Sorry for that.

  • URLs  cache and applet context showDocument question

    Hello:
    I wrote an applet and realized that when I try to read from a URL using this code:
    URL Url=new URL(ReadAddress);
    BufferedReader Input = new BufferedReader(new InputStreamReader(Url.openStream()));I was getting cached information from the web browser. So the problem was solved using this:
    URL Url=new URL(ReadAddress);
    URLConn=Url.openConnection();
    URLConn.setUseCaches(false);
    URLConn.setDoInput(true);
    BufferedReader Input = new BufferedReader(new InputStreamReader(URLConn.getInputStream()));However, I wonder what about this?
    URL Url=new URL(ReadAddress);
    getAppletContext().showDocument(Url);Since in this case I can't tell to the applet context to use a specific URLConnection, I don't know if showDocument(Url) will show always the most updated document or could show also a cached one... I could try before calling showDocument:
    Url.openConnection().setUseCaches(false);However, I know this would create a new connection, and I don't know if that's the one that showDocument() will use or if it will internally use anotherone...
    Any idea?

    I don't know if I can help you with this.
    I am able to run the following applet successfully in my Netscape 7.1 browser on Windows 2000 professional. I am including it for you to try. Although I have a feeling it is probably similar enough to what you have already tried, my interest in this topic has to do with the fact that I am having the same error as you when I run an applet in Camino v0.7 on Mac OS X 10.2 and also an older version of Mozilla 1.0.2 also on the Mac. Like you, I don't see any error messages. The browser simply does not redirect to the new page. The thought here is that if you are not able to redirect a user using an applet that will redirect a user on my own Netscape/Windows environment, maybe then the problem will turn out to be one of configuration (? or not) and hopefully I can solve it somehow on Camino. In any case, I'll be watching this thread hoping for a solution for you.
    public class RedirectApplet extends java.applet.Applet
         public void init()
         public void start()
              redirect();
         }// end start
         private void redirect()
              try{
              java.net.URL url
              = new java.net.URL(getCodeBase() + "/WebPage.html");
              this.getAppletContext().showDocument(url, "_self");
              catch(Exception e)
                   System.out.println("Error with redirection - " + e.getMessage());
         }// end method
    }// end applet class

  • Applet On Netscape and IE

    We are building a shopping cart applet using jdk1.0.x
    When the user clicks on a submit button applet makes a connection to the server and waits for the server response. This piece of code makes a status message visible while the applet is waiting for server response.
    public boolean mouseDown(Event event,int x, int y)
    if (y >= 235 && y <= 260 && x >= 433 && x<= 511 )
    lMessage.setVisible(true);
    parent.SubmitInfo();
    parent.Confirmation(); // make next page visible
    return true;
    The message is visible in Netscape , but in IE (both in MAC and Windows) it does not show up.
    Does anyone have any ideas ?
    Thanks in advance
    Syama.

    Hi, Guess I should have given code sample. lMessage is a label and it is added to the panel.
    It does not display on IE but it displays on Netscape.
    public class Review extends Panel
    // members
    public Review(ECommerce _parent)
    // add size other components
         add(lMessage);
         lMessage.reshape(10,240,300,20);
         lMessage.setFont(parent.mFB);
         lMessage.setBackground(parent.bC);
         lMessage.setForeground(parent.mtC);
         lMessage.setVisible(true);
    // other methods none of them refer lMessage
    public boolean mouseDown(Event event,int x, int y)
         if (parent.submitOrder) return true;
         if (y >= 235 && y <= 260 && x >= 433 && x<= 511 )
              parent.submitOrder = true;
                             lMessage.setVisible(true);
         lMessage.requestFocus();
         repaint();
         parent.SubmitInfo();
         parent.Confirmation();
         parent.submitOrder = false;
         return true;
    May be it has something to do with jdk - we are using jdk 1.1.
    Thanks,
    Syama.

  • Creating signed Java applet for Netscape 4x

    I have created a signed jar with SuperUser privileges under Netscape.
    public void init() {
    try {
    if( Class.forName("netscape.security.PrivilegeManager") != null ) {
    netscape.security.PrivilegeManager.enablePrivilege("SuperUser");
    } catch( ClassNotFoundException cnfe ) {
    cnfe.printStackTrace();
    With this I am getting following error without any dailog prompting to grant permission.
    netscape.security.ForbiddenTargetException: User didn't grant the SuperUser privilege.
    Please help.
    Thanks
    Satish

    Then it's likely Netscape 4.x doesn't recognize the jar as being signed. How did you sign the jar?
    Why didn't you ask this in the more appropriate Signed Applets forum?

  • Java Applets in Netscape with EMBED   tag

    Hi,
    I tried to run the examples on the:
    http://192.9.48.9/products/plugin/1.3/demos/applets.html
    Demo paged off of the plug page and in Netscape 4.08 it
    does not know there is a plugin , in Netscape 6.0
    it knows there is a plug in but won't use the one installed on the machine (1.3.1) which is the same level as the demo.
    Any clues how to get applets to use the Java Plugin with Netscape? This works fine in IE
    Thanks!
    BTW- I'm using NT 4.0 os.

    Probably 1.3.1 conflicts with 1.3.1_01 or 1.3.1_02.
    You need the HTML Converter from the Java PlugIn download page to make your page ready for Netscape 4.x. Go to http://java.sun.com/products/plugin/1.3/converter.html (Java Plug-in HTML Converter Download) to download your copy of the HTML Converter. Watch for the current version, it is 1.3, not 1.1.1.
    Download your page, strip out the <embed/> and <object/> elements, uncomment the <applet/> element and run the HTML Converter.
    Additional Information:
    Netscape 6 does not use the <embed/> element anymore since it isn't a html element but was a proprietary netscape tag. Netscape 6 uses the <object/> element like Internet Explorer and Opera.
    Another note on <embed/>:
    Use of <embed/> is strongly discouraged, but there's no other chance. Let's hope support for Netscape 4.x won't be neccessary any more in a few months.
    A note on <applet/>:
    The <applet/> element is deprecated since HTML 4.01 or earlier (http://www.w3.org/TR/html401/struct/objects.html Objects in HTML 4). One should use the <object> element instead anyway. The semantic description of html elements found in the technical report of the html 4.01 recommendation is still valid for current html versions of today (XHTML 1.1 and XHTML Basic 1.0).
    There's also a funny page of Sun about HTML: http://java.sun.com/products/plugin/1.3/docs/tags.html. Don't take that page too serious since it states it is talking about HTML, but it isn't.
    If you use the HTML Converter, be sure to use the Extended (Standard + All Browsers/Platforms) template to tell Netscape, Opera and Internet Explorer regardless of the used version to display the applet correctly. But watch out: the generated code is not HTML and will perhaps even crash your page in Internet Explorer 6 and browsers that rely on the HTML standard! It also won't work with Netscape 6 if there is a different version of the Java Plugin installed more recently than the requested. I have SDK 1.3, 1.3.1 and 1.4 installed, and Netscape 6 wants to download the 1.3.1 Plugin.
    The best way to make your applet work in really every browser is to study what the converter is trying to do and code it by yourself in a conformant way. Be sure not to tell the browser the Plugin version to use to avoid the neccessarity of downloading outdated plugins and installing several plugins (1.2, 1.2.1, 1.2.2, 1.3, 1.3.1, 1.3.1_01, 1.3.1_02, 1.4...).

  • Scripting applet in netscape

    I have Netscape 4.75 and I want to access methods of applet
    which is compiled with jdk 1.4 and is using swing classes?
    How is that possible?
    I have installed java plug-in 1.4 but then the applet is not
    scriptable with plug-in.

    Try to add the parameter MAYSCRIPT="true" to the applet tag and convert your HTML file with the htmlconverter program that comes with the jdk. If that still doesn't work, upgrade to NN7.02 -- I know it works..... you can check it out at the link shown below:
    http://www.aokabc.com
    ;o)
    V.V.

  • Applet in Netscape (gah! due today)

    Any ideas why an applet wouldn't align properly in Netscape? It works fine but it's not fitting in table correctly.
    Thank you so much!!!!!!!!!!

    Images and applets never align properly in Netscape because Netscape is a pile of cr*p (excuse my language). If it works in IE, you know you're doing it roughly right.

  • Repaint problems with an applet under Netscape 4.75

    Hello,
    I'm currently working on an applet created with VisualAge for Java, running under the standard Netscape 4.75 JVM, with Windows NT4.
    I am experiencing problems with AWT components which randomly disappear, especially Labels and sometimes Panels. When I drag a window over the missing label and then drag it back, the label appears.
    I have tried a lot of combinations with the repaint(), paint(), paintAll() and paintComponents() methods, but it has not been efficient for the moment. Introducing lots of repaint() calls on the concerned labels is even worse.
    Is there a known bug in the Netscape 4.75 JVM concerning this problem ? Do you have an idea of what can be done to solve this problem ? Changing the JVM is not an option that can be chosen. Netscape 4.75 has been defined as the only browser for the whole project.
    Thanks for your help !
    Kevin

    Well, I finally solved this problem.
    For your information, the JVM included in Netscape 4.75 running under NT4 does not like having AWT labels with either Background or Foreground not initialised. If any of these 2 properties is not defined, it could sometimes occur that the JVM can't display the label.

  • Applet parameters & netscape

    I've got an applet running, but it seems
    that if I run it with Netscape, the applet
    is not receiving the parameters properly.
    I can get them just fine with Internet Explorer or with appletviewer.
    I only get the default values that are coded
    into the java applet.
    For example:
    I have a parameter called url_link, that
    I use to switch to another URL.
    In the applet code, it's defined as:
    url_link = this.getParameter("url_link", "");
    In the HTML page, in the part
    else if (_ns == true) document.writeln('<EMBED type="application/x-java-appl
    et;version=1.2" WIDTH = 350 HEIGHT = 200 ALIGN = middle NAME = "Login" java_CODE
    = "Login.Login" java_ARCHIVE = "jdev-rt.zip,classes12.zip,OpamicLib.jar,Login.j
    ar" java_CODEBASE = ".." "url_link" = "success.html" pluginspage="http://java.s
    un.com/products/plugin/1.2/plugin-install.html"> <NOEMBED><XMP>');
    The <APPLET> tag contains:
    <PARAM NAME = "url_link"
    VALUE = "success.html">
    In netscape I just get an empty string for
    this parameter value unless I hard code
    something different in the Java code, but
    it never gets replaced by the parameter
    that's specified in the HTML page.
    So what do I have to do to make this work
    with Netscape?
    null

    Well nobody replied to this one, so I had
    to figure it out myself.
    The JDeveloper tool puts all the parameter
    names in the <EMBED> clause in quotes.
    If those are removed, then it works fine
    in Netscape.
    So, replace
    else if (_ns == true) document.writeln('<EMBED type="application/x-java-appl
    et;version=1.2" WIDTH = 350 HEIGHT = 200 ALIGN = middle NAME = "Login" java_CODE
    = "Login.Login" java_ARCHIVE = "jdev-rt.zip,classes12.zip,OpamicLib.jar,Login.j
    ar" java_CODEBASE = ".." "url_link" = "success.html" pluginspage="http://java.s
    un.com/products/plugin/1.2/plugin-install.html"> <NOEMBED><XMP>');
    with
    else if (_ns == true) document.writeln('<EMBED type="application/x-java-appl
    et;version=1.2" WIDTH = 350 HEIGHT = 200 ALIGN = middle NAME = "Login" java_CODE
    = "Login.Login" java_ARCHIVE = "jdev-rt.zip,classes12.zip,OpamicLib.jar,Login.j
    ar" java_CODEBASE = ".." url_link = "success.html" pluginspage="http://java.s
    un.com/products/plugin/1.2/plugin-install.html"> <NOEMBED><XMP>');
    null

  • Signed Applet for Netscape 4x

    I have created a signed jar with SuperUser privileges under Netscape.
    public void init() {
    try {
    if( Class.forName("netscape.security.PrivilegeManager") != null ) {
    netscape.security.PrivilegeManager.enablePrivilege("SuperUser");
    } catch( ClassNotFoundException cnfe ) {
    cnfe.printStackTrace();
    With this I am getting following error without any dailog prompting to grant permission.
    netscape.security.ForbiddenTargetException: User didn't grant the SuperUser privilege.
    Please help.
    Thanks
    Satish

    Hi,
    this is exactly the same problem I am facing here. Each time I try to grant/enable a capability, it is automatically denied without any dialog. Do we forget something?
    I only signed the applet with the netscape signtool, not with a real certificate from verisign or such, does that matter?
    Please let me know if you found out how to do it.
    SkyScrap

Maybe you are looking for