Beans On A Web Page - Linking via custom events

I've written a pair of Beans and I need to link them up on a web page to run in IE.
Have tested in the BDK BeanBox and they work OK there. Unfortunately they don't in IE.
Hope someone out there can help. (Environment: IE6 on Win2000, Java Plug-In 1.3.1_02).
The event set (called ResultsChange) follows the standard pattern.
From the web page:
<OBJECT
     ID="ElectionResultsModel"
     classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
     WIDTH="1"
     HEIGHT="1"
     STYLE="position:absolute;top:1; left:1"
     codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
<PARAM NAME="code" VALUE="uk.ac.gre.ad802.election.ElectionResultsModel">
<PARAM NAME="archive" VALUE="ElectionResults.jar">
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
<PARAM NAME="bridgeevents" VALUE="yes">
<PARAM NAME="scriptable" VALUE="true">
     No Java 2 SDK, Standard Edition v 1.3 support for BEAN!!
</OBJECT>
<OBJECT
     ID="ResultsView"
     classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
     WIDTH="1"
     HEIGHT="1"
     STYLE="position:absolute;top:1; left:2"
     codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
<PARAM NAME="code" VALUE="uk.ac.gre.ad802.election.ResultsView">
<PARAM NAME="archive" VALUE="ResultsView.jar">
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
<PARAM NAME="bridgeevents" VALUE="yes">
<PARAM NAME="scriptable" VALUE="true">
     No Java 2 SDK, Standard Edition v 1.3 support for BEAN!!
</OBJECT>
<SCRIPT language="JavaScript" FOR="window" EVENT="onLoad()">
     rv = ResultsView.getReference();
     ElectionResultsModel.addResultsChangeListener(rv);
     ElectionResultsModel.loadResults();
</SCRIPT>
In my understanding, this instantiates the two beans,
then the JavaScript registers the ResultsView object
(which implements ResultsChangeListener) with ElectionResultsModel
(the event publisher), then the third JavaScript calls the method on
ElectionResultsModel which leads to it firing a ResultsChange event.
Works OK up to here. The problem comes in the fireResultsChange
method when the results view object is extracted from the collection of
listeners (a HashSet) and is cast to a ResultsChangeListener.
This throws up a ClassCastException, with no explanation why.
Would really appreciate any ideas?
One other detail I think is may be relevant,
before getting to the point described above,
the following exceptions were thrown to the Console. Not sure why or how
to overcome this:
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.beans.ole.event)
     at java.security.AccessControlContext.checkPermission(Unknown Source)
     at java.security.AccessController.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
     at sun.applet.AppletSecurity.checkPackageAccess(Unknown Source)
     at java.lang.ClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.lang.ClassLoader.checkPackageAccess(Unknown Source)
     at java.lang.ClassLoader.defineClass0(Native Method)
     at java.lang.ClassLoader.defineClass(Unknown Source)
     at java.lang.ClassLoader.defineClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.generateAdaptorClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.loadClassNamed(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.getAdaptorClassForListenerClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptor.getEncapsulatedEventAdaptorClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptor.getEncapsulatedEventAdaptor(Unknown Source)
     at sun.beans.ole.event.EventManager.addEncapsulatedEventListener(Unknown Source)
     at sun.beans.ole.event.EventManager.addEncapsulatedEventListener(Unknown Source)
     at sun.beans.ole.OleBeanInterface.setEventListenersActive(Unknown Source)
     at sun.beans.ole.OleBeanInterface.addCustomEventListeners(Unknown Source)
     at sun.beans.ole.OleAppletViewerInterface.addCustomEventListeners(Unknown Source)
java.lang.NullPointerException
     at java.util.Hashtable.put(Unknown Source)
     at sun.beans.ole.event.EventManager.addEncapsulatedEventListener(Unknown Source)
     at sun.beans.ole.event.EventManager.addEncapsulatedEventListener(Unknown Source)
     at sun.beans.ole.OleBeanInterface.setEventListenersActive(Unknown Source)
     at sun.beans.ole.OleBeanInterface.addCustomEventListeners(Unknown Source)
     at sun.beans.ole.OleAppletViewerInterface.addCustomEventListeners(Unknown Source)
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.beans.ole.event)
     at java.security.AccessControlContext.checkPermission(Unknown Source)
     at java.security.AccessController.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
     at sun.applet.AppletSecurity.checkPackageAccess(Unknown Source)
     at java.lang.ClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.lang.ClassLoader.checkPackageAccess(Unknown Source)
     at java.lang.ClassLoader.defineClass0(Native Method)
     at java.lang.ClassLoader.defineClass(Unknown Source)
     at java.lang.ClassLoader.defineClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.generateAdaptorClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.loadClassNamed(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.getAdaptorClassForListenerClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptor.getEncapsulatedEventAdaptorClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptor.getEncapsulatedEventAdaptor(Unknown Source)
     at sun.beans.ole.event.EventManager.addEncapsulatedEventListener(Unknown Source)
     at sun.beans.ole.event.EventManager.addEncapsulatedEventListener(Unknown Source)
     at sun.beans.ole.OleBeanInterface.setEventListenersActive(Unknown Source)
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.beans.ole.event)
     at java.security.AccessControlContext.checkPermission(Unknown Source)
     at java.security.AccessController.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
     at sun.applet.AppletSecurity.checkPackageAccess(Unknown Source)
     at java.lang.ClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.lang.ClassLoader.checkPackageAccess(Unknown Source)
     at java.lang.ClassLoader.defineClass0(Native Method)
     at java.lang.ClassLoader.defineClass(Unknown Source)
     at java.lang.ClassLoader.defineClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.generateAdaptorClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.loadClassNamed(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.getAdaptorClassForListenerClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptor.getEncapsulatedEventAdaptorClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptor.getEncapsulatedEventAdaptor(Unknown Source)
     at sun.beans.ole.event.EventManager.addEncapsulatedEventListener(Unknown Source)
     at sun.beans.ole.event.EventManager.addEncapsulatedEventListener(Unknown Source)
     at sun.beans.ole.OleBeanInterface.setEventListenersActive(Unknown Source)
     at sun.beans.ole.OleBeanInterface.addCustomEventListeners(Unknown Source)
     at sun.beans.ole.OleAppletViewerInterface.addCustomEventListeners(Unknown Source)
java.lang.NullPointerException
     at java.util.Hashtable.put(Unknown Source)
     at sun.beans.ole.event.EventManager.addEncapsulatedEventListener(Unknown Source)
     at sun.beans.ole.event.EventManager.addEncapsulatedEventListener(Unknown Source)
     at sun.beans.ole.OleBeanInterface.setEventListenersActive(Unknown Source)
     at sun.beans.ole.OleBeanInterface.addCustomEventListeners(Unknown Source)
     at sun.beans.ole.OleAppletViewerInterface.addCustomEventListeners(Unknown Source)
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.beans.ole.event)
     at java.security.AccessControlContext.checkPermission(Unknown Source)
     at java.security.AccessController.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
     at sun.applet.AppletSecurity.checkPackageAccess(Unknown Source)
     at java.lang.ClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.lang.ClassLoader.checkPackageAccess(Unknown Source)
     at java.lang.ClassLoader.defineClass0(Native Method)
     at java.lang.ClassLoader.defineClass(Unknown Source)
     at java.lang.ClassLoader.defineClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.generateAdaptorClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.loadClassNamed(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.getAdaptorClassForListenerClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptor.getEncapsulatedEventAdaptorClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptor.getEncapsulatedEventAdaptor(Unknown Source)
     at sun.beans.ole.event.EventManager.addEncapsulatedEventListener(Unknown Source)
     at sun.beans.ole.event.EventManager.addEncapsulatedEventListener(Unknown Source)
     at sun.beans.ole.OleBeanInterface.setEventListenersActive(Unknown Source)
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.beans.ole.event)
     at java.security.AccessControlContext.checkPermission(Unknown Source)
     at java.security.AccessController.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
     at sun.applet.AppletSecurity.checkPackageAccess(Unknown Source)
     at java.lang.ClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.lang.ClassLoader.checkPackageAccess(Unknown Source)
     at java.lang.ClassLoader.defineClass0(Native Method)
     at java.lang.ClassLoader.defineClass(Unknown Source)
     at java.lang.ClassLoader.defineClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.generateAdaptorClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.loadClassNamed(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.getAdaptorClassForListenerClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptor.getEncapsulatedEventAdaptorClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptor.getEncapsulatedEventAdaptor(Unknown Source)
     at sun.beans.ole.event.EventManager.addEncapsulatedEventListener(Unknown Source)
     at sun.beans.ole.event.EventManager.addEncapsulatedEventListener(Unknown Source)
     at sun.beans.ole.OleBeanInterface.setEventListenersActive(Unknown Source)
     at sun.beans.ole.OleBeanInterface.addCustomEventListeners(Unknown Source)
     at sun.beans.ole.OleAppletViewerInterface.addCustomEventListeners(Unknown Source)
java.lang.NullPointerException
     at java.util.Hashtable.put(Unknown Source)
     at sun.beans.ole.event.EventManager.addEncapsulatedEventListener(Unknown Source)
     at sun.beans.ole.event.EventManager.addEncapsulatedEventListener(Unknown Source)
     at sun.beans.ole.OleBeanInterface.setEventListenersActive(Unknown Source)
     at sun.beans.ole.OleBeanInterface.addCustomEventListeners(Unknown Source)
     at sun.beans.ole.OleAppletViewerInterface.addCustomEventListeners(Unknown Source)
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.beans.ole.event)
     at java.security.AccessControlContext.checkPermission(Unknown Source)
     at java.security.AccessController.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
     at sun.applet.AppletSecurity.checkPackageAccess(Unknown Source)
     at java.lang.ClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.lang.ClassLoader.checkPackageAccess(Unknown Source)
     at java.lang.ClassLoader.defineClass0(Native Method)
     at java.lang.ClassLoader.defineClass(Unknown Source)
     at java.lang.ClassLoader.defineClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.generateAdaptorClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.loadClassNamed(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptorGenerator.getAdaptorClassForListenerClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptor.getEncapsulatedEventAdaptorClass(Unknown Source)
     at sun.beans.ole.event.EncapsulatedEventAdaptor.getEncapsulatedEventAdaptor(Unknown Source)
     at sun.beans.ole.event.EventManager.addEncapsulatedEventListener(Unknown Source)
     at sun.beans.ole.event.EventManager.addEncapsulatedEventListener(Unknown Source)
     at sun.beans.ole.OleBeanInterface.setEventListenersActive(Unknown Source)

Have since managed to get my (simplified) code to run on some systems. The only difference I can see between those that work and those that don't is that the icon for the Java Console is different.
The Duke bean icon on systems that work.
The Coffee Cup icon on systems that don't.
Why or what is going on or why even there are different icons I do not know. If anyone does I'd appreciate to hear.
Thanks.

Similar Messages

  • Safari web page sent via apple mail to entourage - block submission

    .. at this point, I'm just wondering what it is about a web page sent via Apple Mail (great feature!) which causes Entourage to display the warning "For your security, Entourage will block submission of this form"? ..
    .. in particular, what are the file types in this kind of message via Apple Mail which need to be "allowed" in the Entourage Attachment Policy .plist? ..
    .. a side note - even the microsoft entourage support webpage dealing with this issue sent via Apple Mail was blocked! ..

    You're suffering from two common misconceptions.
    1. You will never get a response from Apple when you submit a crash report. The reports are used internally, if at all.
    2. This is not Apple tech support. This is a forum provided by Apple for users of its products to discuss technical issues among themselves. No one here represents Apple or knows anything about your contacts with Apple. If you want support from Apple, click the Support link at the top of this page.

  • I can right click to copy a web page link, but it will not let me rick click again to paste the link to the body of text

    I use firefox as my web browser. My start page is www.msn.com where I can access hotmail. Once I have logged into hotmail and click on (Create) new mail I have this problem. If I go to a web page link, ie; www.msn.com, I can highlite the address and then right click to copy. When I go to the body of the email I'm working with, and right click again to paste I DO NOT GET A SCREEN THAT HAS PASTE ON IT. I tried this again by logging into Internet Explorer signed into my hot mail account and tried it again. It works in IE with hotmail. So I feel this problem has been encountered with a firefox update, because I did not have the problem in the past.

    Hi,
    You may have to make sure that '''Disable or replace context menus''' is enabled (tick) in '''Tools''' ('''Alt''' + '''T''') > '''Options''' > '''Content''' > '''Advanced''' (on the right end of '''Enable Javascript'''). [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Content%20panel Options > Content]
    [https://support.mozilla.org/en-US/kb/Options%20window Options]
    If the problem persists please check in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]

  • Firefox crashes when trying to send a web page link.

    The questions says it all. I've tried three times to send a web page link and each time I got a Microsoft error message and Firefox closed.

    I filed a bug for this crash as it has been reported on Mac machines and all of the comments are either printing a webpage or printing a print button.
    If I may ask are you using File > Print or is there also a print icon?
    Another question for investigation is do you have print_printer?
    In order to change your Firefox Configuration please do the following steps :
    # In the [[Location bar autocomplete|Location bar]], type '''about:config''' and press '''Enter'''. The about:config "''This might void your warranty!''" warning page may appear.
    # Click '''I'll be careful, I promise!''' to continue to the about:config page.
    #right click new > string and enter name : print_printer and for value : enter the name of your printer with without the quotes, then OK.
    Please post back with the results. Thank you!

  • When I click on a web page link, it creates a bookmark does not open page, need to right click and open new page or tab

    When I click on a web page link, it creates a bookmark does not open page, need to right click and open new page or tab

    My own problem not a system one

  • Creating Thumbnails for web page links to larger images.

    I want to create thumbnail images for linking to web page linking to enlargements. I'm using PhotoShop Elements 2.0 on a Dell 2400, XP Home Edition with 512mb RAM and 35gb storage available.
    The language I read in help sections doesn't addressed the issue I want help with. I believe it addresses saving thumbnails for Windows and Mac using .tiff or .psd format, not the .jpg or .gif I need. It seemed like there should be a way to change the thumbnail format. Any suggestions would be appreciated.

    Hi Ted,
    You can use the ' Web Photo gallery ' as Jodi suggested for a large
    number of images or,
    Open your image, click the bar at the top of the displayed image &
    reset the size to what you want, then 'File', 'Save for Web' & save as
    .jpg or .gif. .jpg gives more options for reducing file size so that
    is what I use. Close the image without saving
    HTH,
    Alex,

  • HTTP External Web Page Link Question

    I found the following info when searching this group:
    To open an URL from within a Designer generated form you will need to use the gotoURL method of the xfa.host object.
    i.e. xfa.host.gotoURL("http://www.cnn.com");
    You will need to create a object such as a button that when clicked will execute the above script.
    My question is how do I do this? For example if I drag a button on to my form please tell me EXACTLY what I need to do after that. I'm sorry but I do not know what is the xfa.host object. I tried right clicking on the button but every option I tried did not work.
    Thank you
    Dennis

    The Current option will launch the new web page in the same window as the Captivate course is playing.  This will effectively mean that you leave the Captivate lesson and would need to relaunch the lesson again from the beginning.  New - launches the URL in a new browser window.  Parent and Top are not likely to be useful to you because they are only used when your course HTM page is playing in some kind of frameset with multiple levels.  Parent refers to the frame in which your current window is playing.  Top refers to the frame at the very top of the window hierarchy.
    In your case you need to use the New option so that your user does not leave the Captivate lesson.  Your new window will open on top of the Captivate lesson and when they are finished with that window they can just close it to get back to the Captivate lesson underneath.
    Since you are launching your other URL via a button in Captivate, you need to remember this has only one pause point.  As soon as you click that button the pause is released and Captivate will continue play.  If you want this button to be permanently paused, you can do this using Advanced Actions.
    Create an Advanced Action with two clauses. In the example below, I've called the AA LaunchURLandStayPaused. The first clause launches your URL, and the second clause will reset the value of the system variable that tracks the movies current frame.  This effectively negates the pausing behaviour.
    Set the On Success action of the button to Execute Advanced Action and then select the new Advance Action you just created from the drop-down menu.
    You'll need to set up another button or click box for the user to click when they DO want to advance to the next slide.

  • Outlined boxes on web page links

    the web address is www.aashaaron.com
    I am using roll over images to create button link menus. when
    i hit f12 to view in web page, everything is fine, but when i
    upload the page to the web server, when you click on the button, a
    box outlines the button. The colour change is correct for the mouse
    over action, but just wondering why i get the outline on links when
    i click them.
    any help would be great.
    my email is
    [email protected]
    cheers

    You mean like small dots outlining the image? Those are there
    for
    accessibility reasons... I wouldn't worry too much about it.
    If it's a
    coloured border of some sort, then maybe post a link to your
    page.
    Nadia
    Adobe® Community Expert : Dreamweaver
    CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    ~ Customisation Service Available ~
    http://www.csstemplates.com.au
    ~ Forum Posting Guidelines ~
    http://www.adobe.com/support/forums/guidelines.html
    > the web address is www.aashaaron.com
    >
    > I am using roll over images to create button link menus.
    when i hit f12 to
    > view in web page, everything is fine, but when i upload
    the page to the
    > web
    > server, when you click on the button, a box outlines the
    button. The
    > colour
    > change is correct for the mouse over action, but just
    wondering why i get
    > the
    > outline on links when i click them.
    >
    > any help would be great.
    > my email is
    >
    > [email protected]
    > cheers
    >
    >

  • Web Page Link Method To Play QT Streaming Audio?

    I need to insert a link in a web page that will play a 3 minute MP3 as it streams, not when it fully downloads.
    When the link on my page is clicked, I need the MP3 to play in the QT progress bar stop/start pop-up when the start pointer is clicked (or automatically when the page link is clicked but not when the page itself is opened as in Flash) that will still allow the original page to show, and not blank out the screen with a new white page that displays only the QT progress bar.
    I've seen these online. Can anyone direct me to the code or procedure to do this?
    Thanks - Gina

    Here is what I did...
    1. I created the video in Snapz Pro. Then I saved it to my desktop.
    2. Next, I uploaded the image file, which is a .mov file to my web site. I put mine in a folder called img.
    3. Now this is the best part, go to this web site:
    http://cit.ucsf.edu/embedmedia/step2_qtv2.php?mediatype=QuickTime
    4. I selected Web Server and then went to the next screen. On the next screen, add the web server name and the file path. I am a newbie so I made the mistake of adding the entire file path. You only need to add the info. after the web name. Example:
    My web server is: http://www.robenmariesmith.com
    My file path is: img/tutorials/PSActionsTutorial.mov
    Select the pixel image size for your largest image for width and height.
    Make the other selections that it requests and click Submit.
    5. On the next screen you can actually test your media. If all is working, copy and paste the code into your web site.
    Let me know if you need any more help and I will help if I can!
    Cheers,
    RM

  • Web page links do not work

    When I click on a hyperlink on a web page nothing happens. In fact I'm have to use the Safari browser to send this query.

    Hello nimbus882, '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Read web page content via Sockets

    Hey,
    I have to write a program that will read web page content, using sockets.
    I got that piece of code and it works for most pages:
    Socket socket = new Socket(address, 80);
              BufferedReader input =
                   new BufferedReader(
                        new InputStreamReader(socket.getInputStream()));
              PrintWriter output =
                   new PrintWriter(socket.getOutputStream(), true);
              output.println("GET " + pageName);
              String response = "";
              String curline  = input.readLine();
              int i=1;
              while(curline != null){
                 response += "\n" + curline;
                   curline   = input.readLine();
                   System.out.println(i + curline);
                   ++i;
              output.close();
              input.close();but not for the one it is supposed to work:
    http://portalwiedzy.onet.pl/tlumacz.html
    I could get it to work using this:
    URL url = new URL(host + query);
    URLConnection uc = url.openConnection();but I really have to use sockets.
    Any advice, people? :-)

    There's an RFC that goes over the HTTP protocol (or rather, several RFCs for the several versions of the protocol). You probably want to google for that and use it as a reference for this project.

  • How to manage web page content via labview

    My pproblem is to get cyclic information from a web page containing an
    applet.
    Using a container I cannot manage any text and object in the page. Isn't it?
    Ciao

    If I understand you correctly, you are hosting a webpage in a front panel ActiveX container, and you want to obtain certain information from the webpage.
    This is possible using ActiveX calls. To get access to the HTML document in the container itself, along with all of its text and applets, etc, you need to reference the Document child item from a property node. This item is variant, so you need to use Variant to Data with a ActiveX refnum constant set to MSHTML.IHTMLDocument2 wired to the type. At that point you can access information about the HTML page itself, such as the body's text and so forth.
    I'm attaching a simple example that should help you get started. It's written in LabVIEW 7.1. Good luck!
    Jarrod S.
    National Instruments
    Attachments:
    HTML Document Info.vi ‏36 KB

  • Can't get JSF to access managed bean methods from web page

    I'm using NetBeans 6.7.1 and Glassfish v2.1
    Having problems here can somebody please help? It is really
    frustrating because I have written apps like this before in fact I
    used one as a model to create an even simpler app and still can't get
    it to work. I ran it through the debugger and it stops in the
    constructor so it looks like the bean object is being created, but the
    setUid method and the testit method are not being entered when I click
    on the enter commandbutton. Can somebody PLEASE give me an idea as to
    what might be going on? I am totally stumped and this is holding up
    some important work I need to get done. Any help would be greatly
    appreciated:
    web.xml:
    - Show quoted text -
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
    http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    <context-param>
    <param-name>com.sun.faces.verifyObjects</param-name>
    <param-value>false</param-value>
    </context-param>
    <context-param>
    <param-name>com.sun.faces.validateXml</param-name>
    <param-value>true</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>
    30
    </session-timeout>
    </session-config>
    <welcome-file-list>
    <welcome-file>faces/welcomeJSF.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    faces-config.xml:
    <?xml version='1.0' encoding='UTF-8'?>
    <!-- =========== FULL CONFIGURATION FILE ================================== -->
    <faces-config version="1.2"
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
    http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
    <managed-bean>
    <managed-bean-name>testbean</managed-bean-name>
    <managed-bean-class>com.lingosys.quoteest.testbean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    <navigation-rule>
    <from-view-id>/go.jsp</from-view-id>
    <navigation-case>
    <from-outcome>correct</from-outcome>
    <to-view-id>/ok.jsp</to-view-id>
    <redirect/>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    go.jsp:
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%--
    This file is an entry point for JavaServer Faces application.
    --%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>JSP Page</title>
    </head>
    <body>
    <f:view>
    <h1>JAS Generator</h1>
    <p/>
    <h:form id="testForm" enctype="multipart/form-data" >
    <p/>Both fields are required.
    <p/>Enter Test ID: <h:inputText id="pid"
    value="#{testbean.uid}" required="true"/>
    <p/><h:commandButton value="Enter"
    action="#{testbean.testit}"/>
    </h:form>
    </f:view>
    </body>
    </html>
    testbean.java:
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package com.lingosys.quoteest;
    * @author mphoenix
    public class testbean {
    private String uid;
    public testbean() {
    int x=0;
    public String getUid() {
    return uid;
    public void setUid(String uid) {
    this.uid = uid;
    public String testit() {
    return "correct";
    }

    MikePhoenix wrote:
    enctype="multipart/form-data"
    Why?
    Oh, in the future please post code in code blocks. Use the CODE button to get them. Use the Preview tab to see if anything went right.

  • PDF's and web page linking...

    Hello -
    I'm sorry if these are simple questions... I am new to Encore.
    Im cant seem to find any specific information on whether DVDs can view pdfs. I read it has to be on the individuals desktop for later viewing. Which doesnt make sense cant I just have a link to a pdf (which is in say an assets folder) and the pdf page appears while the DVD is in the background?
    Secondly, can I link to a webpage? Can I program a link to open a web browser while the DVD is in the background?
    I have been creating projects for a client using Director but the amount of videos they have really bog down the cd and dont play as well as we would like. Hence the thought of Encore but if I cant do the above the functionality - it would not be what they wanted.
    Thanks for your patience. Any information would be helpful!
    jill

    Sonic eDVD
    for ADVANCED Content

  • Web page links not working

    all links on this page do not work. http://www.oracle.com/webapps/dialogue/dlgpage.jsp

    This is not a valid URL. What is the link you are referring to, and where is it located?
    Cheers, OTN

Maybe you are looking for