Writing new HTML to a page from an applet using LiveConnect, 1.3.1 Plug-i

Has anyone been able to successfully replace a page with an applet with the dynamically generated HTML from an applet using LiveConnect and Plugin 1.3.1 in Netscape 6.2 or IE?
The following works fine without plugin or with 1.4.0 beta3 plugin.
Here is the code that I use without plugin:
JSObject windowObject = JSObject.getWindow(this);
JSObject documentObject = (JSObject) windowObject.getMember("document");
documentObject.call("close",null);
documentObject.call("open",null);
String anArray1[] = {null};
anArray1[0] ="some HTML here";
documentObject.call("write", anArray1);
documentObject.call("close",null);
Here is the code that I use with 1.4.0 plugin:
JSObject windowObject = JSObject.getWindow(this);
JSObject documentObject = (JSObject) windowObject.getMember("document");
String anArray1[] = {null};
anArray1[0] ="some HTML here";
documentObject.call("write", anArray1);
When I try to use anyone of the above using plugin 1.3.1, the browser either hangs or plugin generates runtime error. What is the correct way of writing to a document object? Or what is the way that works for 1.3.1 plugin?

Hi,
I am doing this in my applet to replace the page containing the applet with the new content. I tested that extensively with Netscape 4.7 and IE 5.5+. Definitely works if you are using Java Plug-In 1.3.1_02. Does not work well in Netscape 6.2.
    protected void setPageContent(final String newContent) {
        final JSObject window = JSObject.getWindow(this);
        final JSObject document = (JSObject) window.getMember("document");
        new Thread( new Runnable() {
                        public void run() {
                            document.call("clear", null);
                            document.call("write", new String[]{newContent});
                            try {
                                          document.call("close", null);
                               } catch (JSException ignored) {
                    } ).start();

Similar Messages

  • How do I extract pages from a pdf using 'Adobe PDF Pack'?

    How do I extract pages from a pdf using 'Adobe PDF Pack'?

    I think you have to buy extractor for 1.99 a month to extract PDF.  But I am having trouble activating it.  Good luck.

  • I am trying to delete a page from a pdf using Acrobat X Pro but the delete option is greyed out. Why

    I am trying to delete a page from a pdf using Acrobat X Pro but the delete option is greyed out.  Does anyone know why?

    Post your question in the forum for Adobe Acrobat.

  • I bought the CD of iWork's and have installed pages from it - to use version in Lion do I have to buy the app?? If I do, do I have to delete the other pages??

    I bought the CD of iWork's and have installed pages from it - to use version in Lion do I have to buy the app?? If I do, do I have to delete the other pages??

    All you need to do is run Software Update to make sure you have the iWork 9.1 update. It will update your existing installation of the three applications. If you're not running the latest versions & Software Update says your software is up to date, make sure the applications are where the installer initially put them. The updaters are very picky. If the location is not where the updater is programmed to look or if the folder doesn't have the name the updater looks for, it will not work. The applications cannot be renamed or moved. Even if you think you'll never need all three of the applications, you cannot delete any. They must be in the iWork '09 folder in Applications. That iWork folder must be named iWork '09. If it doesn't have the '09 Software Update won't find them & the updaters won't work.

  • Does the New Imac 21 works as an external display using thunderbolt to thunderbolt cable plugged into a MacBook Pro?

    Does the New Imac 21" works as an external display using thunderbolt to thunderbolt cable plugged into a MacBook Pro?

    Hi there LDIMERY,
    You may find the troubleshooting steps in the article below helpful.
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/ht1573
    -Griff W. 

  • Open a html page from an applet

    Hi,
    I would like to open, from an applet, an HTML page in a new window with a specific width an eight.
    Who can help me ?

    Here is an example of applet to javascript with liveconnect:
    http://www.narhari.com/java/applet2javascript/
    You can use the send(String) method from the sample applet to send something like:
    window.open('xyz.html','myPopup','width=200,height=200');in order to open a window with specific dimensions
    of course you can also build HTML in your applet and use send() + some javascript to render it.

  • Error when trying to view page from Peoplesoft CI using JDeveloper

    I am new to JDeveloper and have created a web service using Peoplesoft. The wsdl was published to the web server and JDeveloper recognized it and allowed me to create a page from it. When I try to run it I get the following. What am I doing wrong?
    *** Using port 7101 ***
    "C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\bin\startWebLogic.cmd"
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=C:\oracle\MIDDLE~1\patch_wls1031\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\oracle\MIDDLE~1\utils\config\10.3.1.0\config-launch.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.1.0.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\oracle\MIDDLE~1\modules\ORGAPA~1.0/lib/ant-all.jar;C:\oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\oracle\Middleware\jdeveloper\webcenter\modules\oracle.portlet.server_11.1.1\oracle-portlet-api.jar;C:\oracle\MIDDLE~1\JDEVEL~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
    PATH=C:\oracle\MIDDLE~1\patch_wls1031\profiles\default\native;C:\oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\oracle\MIDDLE~1\modules\ORGAPA~1.0\bin;C:\oracle\MIDDLE~1\JDK160~1\jre\bin;C:\oracle\MIDDLE~1\JDK160~1\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\oracle\product\10.2.0\client_1\bin;C:\j2sdk1.4.2_04\jre\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Adaptec Shared\System;;C:\bea\Tuxedo8.1\bin;C:\Program Files\Common Files\OpSession\Shared;C:\Program Files\Common Files\OpSession\Viewer Shared;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\QuickTime\QTSystem\;C:\SSH Secure Shell;C:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_11"
    Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
    Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode)
    Starting WLS with line:
    C:\oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Xverify:none -da -Dplatform.home=C:\oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\DOCUME~1\cohnr\APPLIC~1\JDEVEL~1\SYSTEM~1.07\DEFAUL~1 -Doracle.home=C:\oracle\MIDDLE~1\JDEVEL~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\oracle\MIDDLE~1\JDEVEL~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.security.jps.config=C:\DOCUME~1\cohnr\APPLIC~1\JDEVEL~1\SYSTEM~1.07\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.alternateTypesDirectory=C:\oracle\MIDDLE~1\JDEVEL~1\modules\oracle.ossoiap_11.1.1,C:\oracle\MIDDLE~1\JDEVEL~1\modules\oracle.oamprovider_11.1.1 -Dsso.filter.enable=true -DUSE_JAAS=false -Djps.policystore.hybrid.mode=false -Djps.combiner.optimize.lazyeval=true -Djps.combiner.optimize=true -Djps.auth=ACC -noverify -Doracle.core.ojdl.logging.usercontextprovider=oracle.core.ojdl.logging.impl.UserContextImpl -XX:+UseParallelGC -XX:+DisableExplicitGC -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\oracle\MIDDLE~1\patch_wls1031\profiles\default\sysext_manifest_classpath;C:\oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    <Nov 21, 2009 6:52:40 PM GMT-07:00> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\lib\mbeantypes\csp-id-asserter.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;C:\oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar>
    <Nov 21, 2009 6:52:42 PM GMT-07:00> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 11.0-b16 from Sun Microsystems Inc.>
    <Nov 21, 2009 6:52:50 PM GMT-07:00> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.1.0 Wed Jun 10 22:24:41 MDT 2009 1227385 >
    <Nov 21, 2009 6:53:01 PM GMT-07:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Nov 21, 2009 6:53:01 PM GMT-07:00> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Nov 21, 2009 6:53:02 PM GMT-07:00> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Nov 21, 2009 6:53:02 PM GMT-07:00> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00003. Log messages will continue to be logged in C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <Nov 21, 2009 6:53:02 PM GMT-07:00> <Notice> <Log Management> <BEA-170019> <The server log file C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <Nov 21, 2009 6:53:18 PM GMT-07:00> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Nov 21, 2009 6:53:32 PM GMT-07:00> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\access.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Nov 21, 2009 6:53:32 PM GMT-07:00> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\access.log00002. Log messages will continue to be logged in C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\access.log.>
    <Nov 21, 2009 6:53:42 PM GMT-07:00> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
    <Nov 21, 2009 6:53:42 PM GMT-07:00> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'C:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
    <Nov 21, 2009 6:53:47 PM GMT-07:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Nov 21, 2009 6:53:47 PM GMT-07:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    Nov 21, 2009 6:54:00 PM oracle.mds.internal.lcm.logging.MDSLCMLogger info
    INFO: Application ID : wsm-pm
    Nov 21, 2009 6:54:01 PM oracle.mds.internal.lcm.logging.MDSLCMLogger info
    INFO: "Metadata Services: Metadata archive (MAR) not found."
    <Nov 21, 2009 6:54:35 PM GMT-07:00> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Nov 21, 2009 6:54:35 PM GMT-07:00> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00003. Log messages will continue to be logged in C:\Documents and Settings\cohnr\Application Data\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
    <Nov 21, 2009 6:54:35 PM GMT-07:00> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    Nov 21, 2009 6:54:36 PM oracle.wsm.audit.Auditor <init>
    INFO: Created J2EE application auditor for componentType=oracle.security.jps.internal.audit.AuditServiceImpl$Auditor@154d3ac
    Nov 21, 2009 6:54:36 PM oracle.adf.share.config.ADFConfigFactory getInstance
    INFO: ADF Config instance implementation in use is : oracle.adf.share.config.MDSConfigFactory
    Nov 21, 2009 6:54:42 PM oracle.adf.share.config.ADFMDSConfig parseADFConfiguration
    INFO: Configuration file:/META-INF/adf-config.xmlcannot not be read by MDS. Reading directly from the classpath
    <Nov 21, 2009 6:54:43 PM GMT-07:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Nov 21, 2009 6:54:43 PM GMT-07:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Nov 21, 2009 6:54:44 PM GMT-07:00> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 140.198.4.154:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 21, 2009 6:54:44 PM GMT-07:00> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 21, 2009 6:54:44 PM GMT-07:00> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Nov 21, 2009 6:54:45 PM GMT-07:00> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Nov 21, 2009 6:54:45 PM GMT-07:00> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    DefaultServer startup time: 145457 ms.
    DefaultServer started.
    [Running application PSFTtoADF on Server Instance DefaultServer...]
    Nov 21, 2009 6:55:15 PM oracle.mds.internal.lcm.logging.MDSLCMLogger info
    INFO: Application ID : PSFTtoADF
    Nov 21, 2009 6:55:15 PM oracle.mds.internal.lcm.logging.MDSLCMLogger info
    INFO: "Metadata Services: Metadata archive (MAR) not found."
    <Nov 21, 2009 6:55:25 PM GMT-07:00> <Warning> <HTTP> <BEA-101299> <The servlet-mapping for servlet-name "jsp" will override the default mapping for *.jsp. This can lead to a show code vulnerability.>
    Nov 21, 2009 6:55:37 PM oracle.adf.share.jndi.MDSBackingStore isReadOnlyMDSStore
    INFO: Read only backing store
    Nov 21, 2009 6:55:37 PM oracle.adf.share.jndi.MDSBackingStore isReadOnlyMDSStore
    INFO: Read only backing store
    Run startup time: 52658 ms.
    [Application PSFTtoADF deployed to Server Instance DefaultServer]
    Target URL -- http://127.0.0.1:7101/PSFTtoADF-ViewController-context-root/faces/Employee.jspx
    Nov 21, 2009 6:57:12 PM oracle.jbo.uicli.mom.CpxUtils$Visitor logMainApplicationCpx
    INFO: file:/C:/Documents and Settings/cohnr/Application Data/JDeveloper/system11.1.1.1.33.54.07/o.j2ee/drs/PSFTtoADF/PSFTtoADF-ViewController-webapp/WEB-INF/classes/view/DataBindings.cpx
    Nov 21, 2009 6:57:13 PM oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl setLifecycleContextBuilder
    INFO: ADFc: Initializing ADF Page Lifecycle for the JSF environment, LifecycleContextBuilder is 'oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
    Nov 21, 2009 6:57:17 PM oracle.adf.share.jndi.MDSBackingStore isReadOnlyMDSStore
    INFO: Read only backing store
    Nov 21, 2009 6:57:17 PM oracle.adf.share.jndi.MDSBackingStore documentExists
    INFO: MDS-00013: no metadata found for metadata object "/META-INF/connections.xml"
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition loadFromMetadata
    WARNING: 'loadFromMetadata' did not complete successfully due to a failure to load the connection metadata for the target webservice.
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition loadFromMetadata
    WARNING: The following error message was recieved null
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition loadFromMetadata
    WARNING: Either the 'META-INF/connections.xml' is not accessible or does not exist
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition loadFromMetadata
    WARNING: Verify if the connections.xml has valid metadata defined for connection 'PersonalData'
    Nov 21, 2009 6:57:17 PM oracle.adf.share.jndi.MDSBackingStore isReadOnlyMDSStore
    INFO: Read only backing store
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition createDataControl
    SEVERE: Failed to create a Connection to the target Webservice
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition createDataControl
    SEVERE: Ensure that the META-INF/connections.xml exists
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition createDataControl
    SEVERE: Verify if the connections.xml has valid metadata defined for the webservice connection PersonalData
    Nov 21, 2009 6:57:17 PM oracle.adf.model.adapter.DataControlFactoryImpl createSession
    SEVERE: Exception:
    oracle.adf.model.adapter.AdapterException: DCA-40012: The Web Service call failed. A connection to the target Web Service could not be created.
         at oracle.adfinternal.model.adapter.webservice.WSDefinition.createDataControl(WSDefinition.java:565)
         at oracle.adf.model.adapter.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:173)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:166)
         at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:819)
         at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1070)
         at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:973)
         at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:933)
         at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:939)
         at oracle.adf.model.BindingContext.get(BindingContext.java:896)
         at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1519)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.initDataControl(JUMethodIteratorDef.java:589)
         at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2348)
         at oracle.adf.model.binding.DCIteratorBinding.getSortCriteria(DCIteratorBinding.java:3658)
         at oracle.adf.model.binding.DCInvokeMethod.setAssociatedIteratorBinding(DCInvokeMethod.java:851)
         at oracle.adf.model.binding.DCIteratorBinding.cacheRefOnOperation(DCIteratorBinding.java:5263)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.getActionBinding(JUMethodIteratorDef.java:283)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef.isRefreshable(JUMethodIteratorDef.java:59)
         at oracle.adf.model.binding.DCExecutableBindingDef.isRefreshable(DCExecutableBindingDef.java:274)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2888)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2759)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:112)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:80)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:21)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:231)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:267)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:71)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:352)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Nov 21, 2009 6:57:17 PM oracle.adf.share.jndi.MDSBackingStore isReadOnlyMDSStore
    INFO: Read only backing store
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition loadFromMetadata
    WARNING: 'loadFromMetadata' did not complete successfully due to a failure to load the connection metadata for the target webservice.
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition loadFromMetadata
    WARNING: The following error message was recieved null
    Nov 21, 2009 6:57:17 PM oracle.adfinternal.model.adapter.webservice.WSDefinition loadFromMetadata
    WARNING: Either the 'META-INF/connections.xml' is not accessible or does not exist
    Nov 21, 2009 6:57:18 PM oracle.adfinternal.model.adapter.webservice.WSDefinition loadFromMetadata
    WARNING: Verify if the connections.xml has valid metadata defined for connection 'PersonalData'
    Nov 21, 2009 6:57:18 PM oracle.adf.share.jndi.MDSBackingStore isReadOnlyMDSStore
    INFO: Read only backing store
    Nov 21, 2009 6:57:18 PM oracle.adfinternal.model.adapter.webservice.WSDefinition createDataControl
    SEVERE: Failed to create a Connection to the target Webservice
    Nov 21, 2009 6:57:18 PM oracle.adfinternal.model.adapter.webservice.WSDefinition createDataControl
    SEVERE: Ensure that the META-INF/connections.xml exists
    Nov 21, 2009 6:57:18 PM oracle.adfinternal.model.adapter.webservice.WSDefinition createDataControl
    SEVERE: Verify if the connections.xml has valid metadata defined for the webservice connection PersonalData
    Nov 21, 2009 6:57:18 PM oracle.adf.model.adapter.DataControlFactoryImpl createSession
    SEVERE: Exception:
    oracle.adf.model.adapter.AdapterException: DCA-40012: The Web Service call failed. A connection to the target Web Service could not be created.
         at oracle.adfinternal.model.adapter.webservice.WSDefinition.createDataControl(WSDefinition.java:565)
         at oracle.adf.model.adapter.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:173)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:166)
         at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:819)
         at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1070)
         at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:973)
         at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:933)
         at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:939)
         at oracle.adf.model.BindingContext.get(BindingContext.java:896)
         at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1519)
         at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2403)
         at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2348)
         at oracle.adf.model.binding.DCBindingContainer.getDataControl(DCBindingContainer.java:4640)
         at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:430)
         at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2369)
         at oracle.adf.model.binding.DCIteratorBinding.getSortCriteria(DCIteratorBinding.java:3658)
         at oracle.adf.model.binding.DCInvokeMethod.setAssociatedIteratorBinding(DCInvokeMethod.java:851)
         at oracle.adf.model.binding.DCIteratorBinding.cacheRefOnOperation(DCIteratorBinding.java:5263)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.getActionBinding(JUMethodIteratorDef.java:283)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef.isRefreshable(JUMethodIteratorDef.java:59)
         at oracle.adf.model.binding.DCExecutableBindingDef.isRefreshable(DCExecutableBindingDef.java:274)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2888)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2759)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:112)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:80)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:21)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:231)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:267)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:71)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:352)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    <Nov 21, 2009 6:57:18 PM GMT-07:00> <Error> <HTTP> <BEA-101020> <[ServletContext@16582293[app:PSFTtoADF module:PSFTtoADF-ViewController-context-root path:/PSFTtoADF-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.NullPointerException
         at oracle.adf.model.binding.DCIteratorBinding.getSortCriteria(DCIteratorBinding.java:3658)
         at oracle.adf.model.binding.DCInvokeMethod.setAssociatedIteratorBinding(DCInvokeMethod.java:851)
         at oracle.adf.model.binding.DCIteratorBinding.cacheRefOnOperation(DCIteratorBinding.java:5263)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.getActionBinding(JUMethodIteratorDef.java:283)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef.isRefreshable(JUMethodIteratorDef.java:59)
         Truncated. see log file for complete stacktrace
    >

    DCA-40012: The Web Service call failed. A connection to the target Web Service could not be created.
    First of all test the web service you have created in model project. Right click the web service name and select "Test WebService". If you see any issue(s) while testing fix it first before you run the jspx page.
    Check the port number in the URL and connections.xml, it have to be same.

  • Create web pages from xml files using Servets or JSP

    I�m new in this tecnology and I have to create a web pages from information that I get from a XML files. I would like to know if there is a place where I can find examples of code or any book that could help me.

    Two places with loads of information on this:
    http://xml.apache.org
    Look at Xalan or Cocoon.
    Also, there was an article on http://www.javaworld.com on XML with JSP.

  • Printing a web  page from the browser using JSP

    Hi sir,
    I want to know how to print a webpage that contains some
    report data where the web page contains a button as well when i click the button only the webpage contents(report data) should be send to the printer and should be printed.Here i should not use any javascript.By using pure java code in Jsp i need to do this.Pls.provide the code for this so that i will be grateful to u.Where it is very Urgent.I will be waiting for ur reply.
    Thanx,
    m.ananthu

    If you are reasonable sure that the user will be using a newer browser you could use the <LINK> tag to set an alternative print page. When the user clicks on the print button it calls a javascript funtion that does a window.print function call. The browser will then request the alternative print page and print this page instead of what is in teh browser.
    This will require two JSP pages but with proper use of includes you can reuse the code.
    Sorry I don't have any examples handy so you'll have to search the web but I know it works because I've done it for an intranet site.

  • Deleting pages from a PDF using Acrobat X Pro

    Hello, I need to delete some pages from a PDF.  Within the same document, I can delete some pages with no issue, but can't delete other pages.  Why not?

    Well, now it's not happening. Figures...  Thank you for responding.  If it happens again, I will write again.

  • How to set  newer version of stored pages option as never using  httpd.conf

    How to set check for newer version of stored pages option(Tem Internet file-> Setting ) as never using httpd.conf file?

    See:
    *http://kb.mozillazine.org/browser.cache.check_doc_frequency
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold(user set).
    *Preferences can be reset to the default or changed via the right-click context menu.

  • Opening a web page in a new tab appear web page from the history

    When I like to open a web page in a new tab, is opening a BLANK page and in the new tab's address bar appear a random web page address from history .

    Try performing a clean reinstall.
    Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!
    Thanks,
    cyborg4

  • How to call html page from an applet

    I want to call a html page after the user presses a OK button in the applet. please help me in this.

    In you actionPerformed put:
    AppletContext appContext=getAppletContext();
    URL myURL= new URL("http://www.javasoft.com");
    String target="_self";
    appContext.showDocument(myURL,target);P.S. If you want to pen the URL in a new Browser window
    use
    target="_blank";

  • Adding new  column to LOV Page , from  extended VO

    Hi All,
    I did a vo extension regarding a LOV (in maintainence user),to add extra columns required. VO Extension is done and able to see that extended vo in page But iam unable to add those extra fields in my LOV page through personalization .
    i.e iam trying to add those columns by giving view instance and view attribute ....and apply .....return to application .......HERE IAM NOT ABLE TO SEE MY ADDED FILED . Can any one please help .
    Thanks.

    Hi Hussein,
    I tried the above link, but i did not get the answer for my requirement..
    Is it possible to add a new column in the LOV using forms personalization?
    Currency Code - This is the only column i have it in the LOV for now.. I just wanted to add one more column Currency Code, Currency Name...
    So when the user click the LOV, they can see both Currency Code and Currency Name...and select one of the Currency in the field.
    Please let me know.
    Thanks,
    Genoo

  • How to call and run HTML pages from an Applet?

    I want to run another HTML page when pressed a button in an Applet,how can i do it?

    Are you looking for this?
    applet.getAppletContext().showDocument("http://cullenwines.com.au", "_top");

Maybe you are looking for