Codebase question

directory structure
build-->
          create.html
          web-inf-->
               classes--->
                     CreateJApplet.class
Here is my applet tag:
    <APPLET CODE=CreateJApplet.class  CODEBASE="WEB-INF/classes/"WIDTH=800 HEIGHT=600>
        </APPLET>It cannot find the applet. If I move the classes folder into the same directory as the create.html file and change the codebase to classes/ it works fine.
Why? Is it something to do with the applet security policy?

Why? Is it something to do with the applet security
policy?It is because access to the WEB-INF directory is restricted to the server. The client, the browser, is unable to access contents of WEB-INF.

Similar Messages

  • -Djava.rmi.server.codebase Question.

    When I study the meaning of codebase in
    http://java.sun.com/j2se/1.3/docs/guide/rmi/codebase.html
    , I am still confuse what is different between codebase
    settings in Remote Object side and RMI Client side.
    The command options -Djava.rmi.server.codebase=
    http://myHost/myDir and -Djava.rmi.server.codebase=
    http://wwwserver/mydirectory ( in Figure3 and Figure4 of
    http://java.sun.com/j2se/1.3/docs/guide/rmi/codebase.html
    ) are set in which side ??
    The option in Remote Object side seems no any work.
    Who can explain its meaning ??
    Thank you in advance... Alan.

    Hi,
    For the dynamic class loading to work, you should give
    -Djava.rmi.server.codebase=http://some-server/
    you can see that it supports http protocol.. So there should be one web server running on the server side so that client can call it by name or by IP address.. Then try running the program again. now it will work..
    actually you should give this option on client side as it is the client who needs this property.. so in order to download classes the server machine should be addresable to the client in any method. if it is a LAN, try giving '\\computer-name' in the value of the property.. I haven't tried this, but I think you dont need a http server this time.. I am not sure abt this,,. check it out..
    - Bibin.

  • Deploying Application Without codebase and an extension (installer.jnlp)

    Hi,
    It seems that the deployment file can be relative to launch.html but the extension file requires the codebase attribute.
    This launch fails
    http://www.dksy.net/auctionzoom/downloads/download/jpawebstart-no-codebase/launch.html
    this launch succeeds
    http://www.dksy.net/auctionzoom/downloads/download/jpawebstart/launch.html
    In the second case, the codebase attribute is specified
    <jnlp codebase="http://www.dksy.net/auctionzoom/downloads/download/jpawebstart/" href="installer.jnlp" spec="1.0+">This reference documents the deployment file (launch.jnlp), but not the extension (installer.jnlp).
    http://java.sun.com/docs/books/tutorial/deployment/deploymentInDepth/deployingWithoutCodebase.html
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
        <head>
            <title>Test page for launching the application via JNLP No Codebase</title>
        </head>
        <body>
            <h3>Test page for launching the application via JNLP No Codebase</h3>
            <p><a href="javascript:deployJava.launchWebStartApplication('launch.jnlp');">Launch Paystation application</a></p>
            <script src="http://java.com/js/deployJava.js"></script>     
        </body>
    </html>
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <jnlp href="launch.jnlp" spec="1.0+">
        <information>
            <title>JPAWebStart</title>
            <vendor>AZ</vendor>
            <homepage href=""/>
            <description>JPAWebStart</description>
            <description kind="short">JPAWebStart</description>
            <shortcut online="true">
                <!-- create desktop shortcut -->
                <desktop/>
                <!-- create menu item for this app under the major heading -->
                <menu submenu="JPAWebStart"/>
            </shortcut>
            <related-content href="README.TXT">
                <title>Readme File</title>
                <description/>
            </related-content>
        <offline-allowed/>
    </information>
        <security>
            <all-permissions/>
        </security>
        <update check="background" policy="prompt-update"/>
        <resources>
    <j2se version="1.6+"/>
    <jar eager="true" href="JPAWebStart.jar" main="true"/>
        <jar href="lib/antlr-2.7.6.jar"/>
    <jar href="lib/asm.jar"/>
    <jar href="lib/asm-attrs.jar"/>
    <jar href="lib/cglib-2.1.3.jar"/>
    <jar href="lib/commons-collections-2.1.1.jar"/>
    <jar href="lib/commons-logging-1.1.jar"/>
    <jar href="lib/dom4j-1.6.1.jar"/>
    <jar href="lib/ehcache-1.2.3.jar"/>
    <jar href="lib/jdbc2_0-stdext.jar"/>
    <jar href="lib/jta.jar"/>
    <jar href="lib/hibernate3.jar"/>
    <jar href="lib/hibernate-tools.jar"/>
    <jar href="lib/hibernate-annotations.jar"/>
    <jar href="lib/hibernate-commons-annotations.jar"/>
    <jar href="lib/hibernate-entitymanager.jar"/>
    <jar href="lib/javassist.jar"/>
    <jar href="lib/ejb3-persistence.jar"/>
    <jar href="lib/derby.jar"/>
    <jar href="lib/log4j-1.2.15.jar"/>
    <jar href="lib/jardiff.jar"/>
    <jar href="lib/jnlp-servlet.jar"/>
    <jar href="lib/jnlp.jar"/>
    <extension href="installer.jnlp" name="Installer" version=""/>
    </resources>
        <resources>
            <jar href="JPAWebStartMain.jar" main="false"/>
        </resources>
        <application-desc main-class="demo.main.JPADemo">
        </application-desc>
    </jnlp>
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp href="installer.jnlp" spec="1.0+">
        <information>
            <title>Installer</title>
            <vendor>AZ</vendor>
            <offline-allowed/>
        </information>
        <security>
            <all-permissions/>
        </security>
        <resources>
            <j2se version="1.6+" />
            <jar href="installer.jar" main="true" />
        </resources>
        <installer-desc main-class="com.az.installer.Installer">
            <!-- Application Arguments -->
        </installer-desc>
    </jnlp>

    Can't see any question mark and can't actually guess one, you wrote out quite a dissertation on it. Are you giving away 10 dukes for the first one telling you 'CORRECT!' (I really hope so)?
    Bye.

  • Deploying FX as a Desktop App - jnlp file codebase should be...what?

    Howdy,
    If I try and run my deployed JavaFX app on another PC I get an error pointing back to the codebase that NB created in the <appname>.jnlp file:
    codebase="[http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/E%3A/JavaFX/Projects/Concentration/Concentration11/dist/]"My main question is, for a standalone desktop FX app you want to distribute, what should the codebase be?
    I assume you don't point to your developer machine's URL because of course that won't exist on someone else's machine. And unlike most web examples, this won't be running from a server.
    Many other examples refer to running the jar file from the command prompt - not acceptable if you are selling an applet, or even just distributing to the general public.
    So how does this work - how do you set up the jnlp file for desktop deployment? And, do you have to manually do this, or is there something I am missing in NB (6.8) ?
    Many thanks in advance.

    Hi Phil and thank you. I admit have been avoiding learning to compile from the command prompt or with other tools due to the ease that NB affords - but it seems that NB is introducing some issues lately.
    I haven't tried the other tools yet, but I thought maybe I could just edit the NB created jnlp file:
    [http://forums.sun.com/about:blank]<jnlp spec="1.0+" codebase="file:/" href="Concentration11.jnlp"> [http://forums.sun.com/about:blank]<information>  <title>*Concentration11*</title>  <vendor>*Gary*</vendor>  <homepage href="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/E%3A/JavaFX/Projects/Concentration/Concentration11/dist/"/>  <description>*Concentration11*</description>  <offline-allowed/>  </information> [http://forums.sun.com/about:blank]<resources>  <j2se version="1.5+"/>  <extension name="JavaFX Runtime" href="http://dl.javafx.com/1.2/javafx-rt.jnlp"/>  <jar href="Concentration11.jar" main="true"/>  <jar href="lib/derby.jar"/>  <jar href="lib/derbyclient.jar"/>  <jar href="lib/derbytools.jar"/>  <jar href="lib/.netbeans-derby_JapaneseWords.jar"/>  </resources> [http://forums.sun.com/about:blank]<application-desc main-class="com.sun.javafx.runtime.main.Main">  <argument>*MainJavaFXScript=dbPackage.Main*</argument>  </application-desc>  <update check="background"/>  </jnlp>Replacing the code base with your file idea, if I try to run from the jnlp file it complains it can't find the resource:
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: file:/Concentration11.jnlp
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    <...more...>Sorry to be so dense. Any ideas what I am flubbing up this time?
    Thank you Phil.

  • UPGRADE ASSISTANT QUESTIONS for ECC6.0???????911

    I have used upgrade assistant in the past for 4.6C and 4.7 upgrades and had no problems.  I am having trouble getting the assistant to work through the internet browers.  I need help with a couple of questions:
    First:  Do I need do a prepare and SERVER option like I had in the past with R3UP?
    Second:  Is there anything special that needs to be done for ports 4239,4240,4241. I can reach my server through the internet of some of the ports that R3 uses.
    It seems the java is not recognizing my i5 server and I am not sure where the disconnect is. 
    This is the error I am receiving when I try to start the upgrade assistant:
    ERROR:  Unable to load resource: http://sapdev:4239/ua/uagui.jnlp
    <!--
    JNLP File for UaGui
    -->
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="0.2 1.0" codebase="http://SAPDEV.SWIRECC.COM:4239/ua" href="uagui.jnlp">
      <information>
        <title>Upgrade Assistant</title>
        <vendor>SAP AG</vendor>
        <description kind="short">SAP Upgrade Assistant</description>
        <icon href="http://SAPDEV.SWIRECC.COM:4239/ua/pics/sdtgui_big.gif"/>
      </information>
      <security>
        <all-permissions/>
      </security>
      <resources>
        <j2se version="1.4+"/>
        <jar href="uagui.jar" main="true" download="eager"/>
      </resources>
      <application-desc main-class="UaGui">
           <argument>-host</argument>
           <argument>SAPDEV.SWIRECC.COM</argument>
           <argument>-port</argument>
           <argument>4241</argument>
      </application-desc>
    </jnlp>

    Usually it's done like
    - PREPARE
    - exchange SAPup with the newest version
    - add your application fix <application>_FIX to /usr/sap/put
    - $JAVA_HOME/bin/java -cp /usr/sap/put/ua/ua.jar UaServer
    - give an administrator password
    After that the UA should listen on port 4239
    You can verify that on the machine via
    netstat -tn | grep -i LISTEN | grep 4239
    Also check that you have either no proxy or add the box' name to the exception list of the browser (because Java uses that exception list too).
    Markus

  • Implementing OOP inheritance in T-SQL (not an O/R question)

    Is it possible to cleanly obtain the inheritance benefit of object-oriented programming in T-SQL? 
    This is not about O/R mapping, which has been discussed to death all over the web, but rather specifically about implementing a form of inheritance in T-SQL.
    Here’s why I would ask such an insane question: 
    I maintain a large body of existing T-SQL that implements logic that has to be tightly tied to the database. 
    It’s not heavily declarative (i.e., does not rely heavily on large monolithic SQL statements and set manipulations), because the operations that have to be carried out are by their nature sequential. 
    (And imperative code can be tested in bite-size pieces, whereas huge, tight, brittle declarative SQL is difficult to maintain.) 
    And I can’t rewrite it.
    I’m now faced with the prospect of implementing new functionality, which will have the effect of introducing slight variations across the current
    functionality.  An obvious way to implement this would be with tests and branches in every place where the functionality has to vary. 
    This would spread the new functionality across the existing code in a rather unstructured way, making maintenance difficult. 
    At the other extreme, I could clone the entire codebase, and make the alterations in the cloned code for the new functionality. 
    At run-time, you would call into the correct code.  This would cause incredible code bloat and the attendant maintenance headaches.
    Inheritance and virtual functions would solve this nicely: the common code would be placed in one class, and the parts that vary in two
    other separate classes.  Alas, T-SQL does not implement inheritance.
    There is a third way: 
    implement virtual functions by hand in T-SQL.  At virtual function call sites, you would simply employ a lookup to determine the correct virtual function, and then call it dynamically.
     This could be easily expanded to handle a third set of logic and so on. 
    It would only require modifying the entire codebase once, to insert the virtual function call points. 
    The vtable of virtual functions could be stored as a table in SQL Server. 
    But this sounds like an awful thing to do to future maintainers.
    Has anyone else faced this situation, and how did you address it?  Does anyone know of any other approach that would mimic inheritance
    in T-SQL and/or avoid the uglinesses of the above?  Thanks.

    There is a third way: 
    implement virtual functions by hand in T-SQL.  At virtual function call sites, you would simply employ a lookup to determine the correct virtual function, and then call it dynamically.
    That can be done with
    dynamic SQL.
    However, there is always the ever-present performance requirement with database queries. So a fancy implementation can quickly collapse to plain in-line code stored procedure with performance benefits.
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • AS3.0 Question dealing w/ the stage

    I had a question if there is a way to set the stage as not visible?  Meaning the .swf stage is transperent and takes the properties of the bg image of the bg of the page its laid on?  I'm trying to steer away from just using flash for the site and using a mixture of flash elements in a css site but I can't seem to get the stage to be transparent.  Any help on this would be great.  Thanks in advance.

    What if we add
    <param name="wmode" value="transparent">
    I meant, inside html where you publish your swf.
    <object classid="clsid:bala" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="250" height="50">
    <param name="movie" value="bala.swf">
    <param name="quality" value="high">
    <param name="wmode" value="transparent">
    <embed src="bala.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="250" height="50"></embed>
    </object>

  • The given assembly name or codebase was invalid

    Hello!
    I'm going to write a windows desktop client-server application.
    I want to use EF.
    But i can't make it work without installing ODAC.
    I've copied Oracle.DataAccess.dll and OraOps11w.dll to the application output path, wrote in the App.Config file:
    <configSections>
    <section name="oracle.dataaccess.client" type="System.Data.Common.DbProviderConfigurationHandler, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
    </configSections>
    <system.data>
    <DbProviderFactories>
    <add name="Oracle Data Provider" invariant="Oracle.DataAccess.Client" description=".NET Framework Data Provider for Oracle"
    type="Oracle.DataAccess, Version=4.112.2.0, Culture=neutral, PublicKeyToken=89B483F429C47342, processorArchitecture=AMD64"/>
    </DbProviderFactories>
    </system.data>
    <connectionStrings>
    <add name="OracleDatabaseContext" connectionString="metadata=res://*/Model.OracleDatabase.csdl|res://*/Model.OracleDatabase.ssdl|res://*/Model.OracleDatabase.msl;provider=Oracle.DataAccess.Client;provider connection string=&quot;DATA SOURCE=11.22.33.44/XE;PASSWORD=UserPassword;PERSIST SECURITY INFO=True;USER ID=UserName&quot;" providerName="System.Data.EntityClient" />
    </connectionStrings>
    and receive such an error:
    System.IO.FileLoadException: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
    StackTrace:
    System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
    System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
    System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
    System.Type.GetType(String typeName)
    System.Data.Common.DbProviderFactories.GetFactory(DataRow providerRow)
    System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName)
    System.Data.EntityClient.EntityConnection.GetFactory(String providerString)
    System.Data.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString)
    System.Data.EntityClient.EntityConnection..ctor(String connectionString)
    System.Data.Objects.ObjectContext.CreateEntityConnection(String connectionString)
    System.Data.Objects.ObjectContext..ctor(String connectionString, String defaultContainerName)
    SGB.Gitex.DataAccess.Model.OracleDatabaseContext..ctor() in C:\projects\projectX_qa\ProjectName\ProjectName.DataAccess\Model\OracleDatabase.Designer.cs: line 40
    I took libraries from here: http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html

    Hi  Nithish,
    For this File load exception, I would try the followings:
    As a quick try, can you restart the host instance (or IIS as appropriate) and see this enable the host to load the assemblies properly.
    Try to load all the assemblies in GAC. Check your assemblies are GACed in  C:\Windows\Microsoft.NET\assembly\GAC_MSIL\ProjectName\v4.0_\*.dll
         folder location.
    Undeploy and redeploy the application, restart the host instance (or IIS as appropriate)
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Codebase run RMI server .NoClassDefFoundError:

    If I run the folllowing from the solaris command line
    java -cp /junk/jdev+/jdev/src -Djava.rmi.server.logCalls=true -Djava.rmi.server.codebase=file:////junk/jdev+/jdev/src/ -Djava.security.policy=/junk/jdev+/jdev/src/jdev/server/policy jdev.server.RMIServerDBAdapter
    my RMIServerDBAdapter binds regardless of my current working directory. In other words the RMI server
    runs and binds as expected.
    If I remove the classpath clause of the java command (-cp /junk/jdev+/jdev/src) then the RMI server
    will only run and bind if my current working directory is the "root" of the package.
    In this case if my current working directory is /junk/jdev+/jdev/src the RMI server will run and bind as
    it should. If my current working directory is at the root of the solaris file system ( / ) I get the following error
    Exception in thread "main" java.lang.NoClassDefFoundError: jdev/server/RMIServerDBAdapter
    My question is why doesn't the code base clause of the java command point to the root
    directory of the package /junk/jdev+/jdev/src. It seems to me that the codebase clause
    would point to the root directory of the package allowing the RMI server to run and bind as expected
    regardless of the current working directory.
    I cannot get this to work. I have tried 0-4 slashes (file:/, - file:////) that did not seem to help.
    The package statement in the java source files is
    package jdev.server
    Thank you in advance for your help.
    Michael
    [email protected]

    Hi Ciaccio,
    Your question is doesn't clear enogh to me to answer it straight... But I'll try... :)
    First you must not mix the reason and usage of the codebase and classpath. Classpath is locally parsed and used, codebase is remotely parsed and used (at the registry and at the client side).
    Your server program cannot start if you don't tell to the system where to find the needed classes. That's why you have to specify the root path of the jdev.server.RMIServerDBAdapter in the CLASSPATH (from that point will search the java system the jdev dir, the server dir and the RMIServerDBAdapter object) .
    If the Java system is unable to locate any of a needed class it throws a nice exception during the startup of the server program.
    The codebase property is used by the client and the registry to locate the stub objects (and return types and parameter types) if those cannot be found on their local classpath. This path (or it would be more accurate to call what it is: URL) must be an absolute address (path, URI, etc), because the clients and the registry can be started anywhere. This way you also have to set RMISecurityManager and polici files also to your client because of dynamic class downloading...
    Last thing:
    Note the line above: ...if those cannot be found on their local classpath... If the stubs and the param/return types are present in the registry's and the clients local classpath then you don't have to specify codebase property at the server side because it is not parsed at all.
    I hope I could help,
    Sanyi

  • Question about Java Applet Jar file signing.

    These questions pertain to Java 6 Standard Edition 1.6.0_22-b04 and later.
    I have gone through the Oracle Java Tutorial for generate public and private key information
    to sign a jar file, and how to sign the jar itself, all at
    [http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html|http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html]
    , and seek some clarification on the following related questions:
    -In order to "escape" the java applet sandbox that exists around the client's
    copy of the applet running in their web browser, ie.
    (something forbidden by default), is verification of the signed applet enough, or is a policy file required
    to stipulate these details?
    -using the policytool policy file generator, what do I need to add under "Principals"
    (if anything) when dealing with a Java applet? Are Codebase and SignedBy simply author information?
    -If I choose to use a java.security.Permission subclass object set up in equivalent fashion within the Applet,
    which class within the Applet jar do I instantiate that object in? Does it need to be mentioned
    in the applet's jar Manifest.MF file?
    -Is the "keystore database" a java language service/process which runs in
    the Server's memory and is simply accessed and started by default
    by the client verifier program (appletview/web browser)?
    -The public key certificate file (*.cer) is put in the webserver directory holding
    the Applet jar file (ie. Apache Tomcat, for example).
    -Presumably, the web browser detects the signed jar
    and certificate file, and provides the browser pop up menu asking the user
    about a new, non recognised certificate (initially).
    Is this so?
    -With this being the case, can the applet now escape
    the sandbox, be it with or without the stipulated
    policy permissions?

    848439 wrote:
    -In order to "escape" the java applet sandbox that exists around the client's
    copy of the applet running in their web browser, ie.
    (something forbidden by default), is verification of the signed applet enough, or is a policy file required
    to stipulate these details?Just sign the applet, the policy file is not necessary.
    -Is the "keystore database" a java language service/process which runs in
    the Server's memory and is simply accessed and started by default
    by the client verifier program (appletview/web browser)?No.
    -The public key certificate file (*.cer) is put in the webserver directory holding
    the Applet jar file (ie. Apache Tomcat, for example).No. For a signed Jar, all the information is contained inside the Jar.
    -Presumably, the web browser detects the signed jar
    and certificate file, and provides the browser pop up menu asking the user
    about a new, non recognised certificate (initially).
    Is this so?No. It is the JVM that determines when to pop the confirmation dialog.
    -With this being the case, can the applet now escape
    the sandbox, ..Assuming the end-user OK's the trust prompt, yes.
    ..be it with or without the stipulated
    policy permissions?Huh?

  • 2 layout questions...

    2 problems with this page:
    http://www.jamesdixonministries.org/home/default2.asp
    1: My menu needs to be centered. It is the only item on the
    page using layers.
    How would i go about making sure its centered no matter any
    browser size?
    2: My menu has drop down buttons, but one your hover over a
    button, it displays the dropdown below the video or any other flash
    element... is there a way around this or can i not have 2
    overlapping flash elements?
    Thanks for the help!!

    Part of your problem is this -
    <table width="940" height="887"
    My instructions assumed you had a page that was 760px wide.
    Your table
    blows that assumption out. Fix that by adjusting the width
    shown here -
    body { text-align:center; }
    #wrapper { text-align:left; width:760px; margin:0
    auto;position:relative; }
    .style15 {color: #990000}
    /* 760px will display on an 800px screen maximized browser
    window without */
    /* horizontal scrollbars. */
    (and read the comment)
    Your next problem is that you have placed this absolutely
    positioned Flash
    <object> into a table cell, and that's not good. You
    should never place
    absolutely positioned elements directly into table cells....
    <td height="37" bgcolor="#666666"><!-- FLASH MENU
    FACTORY INSTRUCTIONS:
    Paste this code to your HTML document -->
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
    width="940" height="117" id="menu" style="position: absolute;
    top: 170px;
    left: 239px; z-index:2; visibility: visible;" >
    <param name="movie" value="../menu/menu1.swf" />
    <param name="quality" value="high" />
    <param name="allowScriptAccess" value="always" />
    <param name="wmode" value="transparent" />
    <embed src="../menu/menu1.swf" quality="high"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash" width="940" height="117"
    allowscriptaccess="always"
    wmode="transparent"></embed></object>
    <!-- END of FLASH MENU FACTORY Code.
    http://www.FlashMenuFactory.com
    --></td>
    Another problem is - ARE YOU SURE EVERYONE COMING TO THIS
    SITE HAS THE FLASH
    PLAYER INSTALLED? I'm not. Furthermore, what about those who
    need screen
    assistive devices? And what about search engines who will
    never see that
    menu?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Stunna" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi, i made the changes to question #1 but it seemed to
    move the entire
    > page and not the menu itself.
    >
    > did i do something wrong?
    >
    >
    http://www.jamesdixonministries.org/home/default2.asp

  • Failover to loading classes from codebase?

    The Java Plug-In fails over to loading class files from codebase when the jars specified do not contain the class in question.
    I need this same behavior from Java Web Start -- in part because I'd like to convert some applets and in part because due to customization, reflection, etc, it is not possible for me to force all class files to reside in the jars. Some will only be found in the codebase.
    Is there any way to accomplish this with Java Web Start? Or do we have to use another JNLP implementation? I understand performance is best when the jars are complete, but why did Sun make Java Web Start's behavior so inconsistent. [This is not the only case of this, but I'll keep my other questions/gripes on this matter to other threads.]

    I fully agree with your opinions on the environment variables such as CLASSPATH, PATH etc.
    But my problem is: I want to force the application to load the classes over RMI from the codebase specified by the other machine first before trying to load the classes from its own class path specified by -cp or whatever mechanisms.
    In other words, I want to load the classes remotely instead of locally on the hard drive if the classes with the same names exist locally.

  • 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>

  • Question on EJB, JNDI and client jars

    Hi,
    This is a very fundamental question on EJBs and their clients - what
    all should go into the client jar of an ejb?
    I know for sure that just the remote and home interface classes of the
    ejb are sufficient on the client's classpath to work with an EJB on a
    totally different server, but I dont understand the logic behind it.
    If the client has to pass its object parameters over the network to
    the server where the ejb bean is located, should the container
    generated stub not be present on the client's classpath? After the
    client does the JNDI lookup of the ejb home on the server, how does it
    serialize and pass the parameters over the network if the container
    generated stub is not present?
    Any help would be greatly appreciated. Pointers to material on the
    internet which explain this/related things in detail would be a great
    help.
    Thank you,
    Anoushka

    "Anoushka" <[email protected]> writes:
    I know for sure that just the remote and home interface classes of the
    ejb are sufficient on the client's classpath to work with an EJB on a
    totally different server, but I dont understand the logic behind it.
    If the client has to pass its object parameters over the network to
    the server where the ejb bean is located, should the container
    generated stub not be present on the client's classpath? After the
    client does the JNDI lookup of the ejb home on the server, how does it
    serialize and pass the parameters over the network if the container
    generated stub is not present?Most protocols (IIOP, T3, JRMP) provide a slot for encoding a codebase
    in RMI requests. The codebase is usually an http URL that specifies
    where to get classes that are not currently available to the
    client. This URL is used to construct a java.net.URLClassLoader which
    then downloads classes on demand. These classes can include stubs,
    object arguments - pretty much anything you like. There are certain
    security restrictions on the URLClassLoader which is why you sometimes
    have to specifiy a security manager in a client. T3 will for
    preference generate stubs in the client rather than download them,
    however this is not allowed in an applet - and so in this case T3 will
    also download stubs from the server.
    The net of this is that you don't have to put very much at all in a
    client jar UNLESS you can't use the URLClassLoader. In that instance
    you have to put EVERYTHING you need in the client jar.
    HTH
    andy

  • Question about Sun Java Calendar Server 7

    You downloadable forum, at [http://www.sun.com/software/products/calendar_srvr/get_it.jsp|http://www.sun.com/software/products/calendar_srvr/get_it.jsp],
    leaves one with two questions.
    -What databases are needed/supported by this MessageBoard System for backend storage?
    -What are the licensing details? May the MessageBoard/Communications Suite 7
    be installed and used in a commercial environment, free?
    -May Sun Java Calendar Server 7 be downloaded without the Communications suite?
    -Can it be run off an Apache Tomcat Server with J2SE,J2EE codebases?

    Although... at the top of this forum it says
    This is a forum for new Java developers to get acquainted with the technologies and tools associated with the Java Platform.It doesn't actually say anything about programming, not there nor in what follows. So it isn't surprising that the OP thought this was a suitable forum to ask about that server, which looks as if it might be a "tool associated with the Java platform".

Maybe you are looking for

  • AOL mail will not work on MacBook Pro, but works on iMac

    My wife has attempted to check her aol mail account online, through Safari, and every message that she opens appears as "garbage." I recently installed Snow Leopard on both of our computers. AOL mail works on my iMac, but not her Macbook Pro. Honestl

  • Passing on 4.0.2 upgrade???

    I puchased 2 iPhone 4's two weeks ago with my wife and I have been following as many threads as possible to educate myself on what is working, works well, and what is not working well. It would be an understatement to say that there have been more th

  • Spambots and Contact Forms

    I see a lot of AS3 contact forms.  They don't seem to have protection from spambots - is this not as much of an issue within flash as it is in standard html pages?

  • Looking for advice for the next step

    I am having problem with stability when I overclock my system. I am trying to clock my system by the guidelines of the above sticky https://forum-en.msi.com/index.php?threadid=40413&sid= and these other threads https://forum-en.msi.com/index.php?thre

  • Display CCMS Monitor in SolMan

    Dear Community, is it possible to display an selfmade ccms monitor from a satalite system in the Solution Manager? Thanks for answers, Matthias