The option to embed the jnlp file in a web page was added in JDK7, to optimize launching jnlp applets. The parameter (or applet arg) was added to neither the list in: src/plugin/share/plugin2/npjp2/NPAPIJavaPlugin.cpp, nore the code in src/common/share/classes/com/sun/applet2/AppletParameters.containsAppletCode() as a result, you still need one of {jnlp_href, code, object, java_code} to launch an applet. Oracle forms has reported that it was necessary to add jnlp_href="foo.jnlp", to their applet html page when using embedded_jnlp, and that the file at codebase/foo.jnlp would be downloaded and applet would fail if it were not there. This is contrary to the purpose of embedded_jnlp, and was only caused by the oversight of not adding it to the two lists (one is for IE, the other is for Mozilla based browsers) to allow applet to run if one of the items is there.
|