How to embed jnlp file into html page using object tag

hi everyone,
i have written one jnlp file like this.
<?xml version="1.0" encoding="utf-8" ?>
<!-- JNLP file for Demo applicaion -->
<jnlp spec="1.0+" codebase="http://localhost:9080/base/" href="SampleExample.jnlp">
     <information>
          <title>Demo Application</title>
          <vendor> </vendor>
          <description>Sample Demo Application</description>
          <offline-allowed/>
     </information>
     <security/>
     <resources>
          <j2se version="1.3+" />
          <jar href="common.jar" main="true" download="eager" />
          <jar href="classes12.jar" download="eager" />
          <jar href="toplink.jar" download="eager"/>
          <package name="com.applet.*" part="applet" recursive="true"/>
     </resources>
     <applet-desc name="grid" main-class="com.applet.PriceGrid" width="1000" height="300"/>
</jnlp>
i am trying embed that jnlp file using object tag like
<OBJECT
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">     
<PARAM NAME="jnlp" VALUE="http://localhost:9080/base/SampleExample.jnlp">
</OBJECT>
but i am not able to load the applet using Web Start.
Can anyone please help me. This is very Urgent for me.
Thanks & Regards,
Shiva.

thanks.
i am giving my problem clearly. i have one applet. Previously i am loading the applet in my html page using object tag like this...
<OBJECT
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">
<PARAM NAME="CODE" VALUE="com.adp.base.applet.PriceGrid.class" >
     <PARAM NAME="ARCHIVE" VALUE="common.jar,classes12.jar,toplink.jar" >
     <PARAM NAME="NAME" VALUE="grid" >
<PARAM NAME="type" VALUE="application/x-java-applet">
<PARAM NAME= "cache_option" VALUE ="no">
</OBJECT>
now what i need to do is
i need load the applet only first time using web start and when ever the applet code changes in the server i need to reload the applet.
for that i kept all the applet resources in .jnlp file.i want to cache all the resources which are in .jnlp file and applet must be displayed within a web page within a browser.
Webstart always open a new application windows.
I need to run an Applet embedded within a web page within a browser.
Is there a way to still use Webstart?

Similar Messages

  • How to embed Flash Player into HTML page

    Hello,
    I have a question for some gurus who know very well the
    Javascript.
    Namelly what i want is to add <object> tag to the
    current html page programatically with using JAVA SCRIPT.
    As IE is more forgiving it displays the object properly but,
    in Firefox it behaves a bit different. Actually it doesn't appear
    at all in Mozilla browser. Any good sample would be great help.
    I was wondering what i am doing wrong?
    Thanks :)

    thanks.
    i am giving my problem clearly. i have one applet. Previously i am loading the applet in my html page using object tag like this...
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">
    <PARAM NAME="CODE" VALUE="com.adp.base.applet.PriceGrid.class" >
         <PARAM NAME="ARCHIVE" VALUE="common.jar,classes12.jar,toplink.jar" >
         <PARAM NAME="NAME" VALUE="grid" >
    <PARAM NAME="type" VALUE="application/x-java-applet">
    <PARAM NAME= "cache_option" VALUE ="no">
    </OBJECT>
    now what i need to do is
    i need load the applet only first time using web start and when ever the applet code changes in the server i need to reload the applet.
    for that i kept all the applet resources in .jnlp file.i want to cache all the resources which are in .jnlp file and applet must be displayed within a web page within a browser.
    Webstart always open a new application windows.
    I need to run an Applet embedded within a web page within a browser.
    Is there a way to still use Webstart?

  • How to add js files to sharepoint page using sharepoint designer

    how to add js files to sharepoint page using sharepoint designer

    Upload the files to your site collection into the site assets library or into the style library, depending on perference.
    Then you can include the JS files either in the master page, page tempalte or using web parts.

  • Uregnt - How to Load Flat File into BW-BPS using Web Browser

    Hello,
    We have followed the 'How to Load Flat File into BW-BPS using Web Browser' guide to build BSP web front-end to upload flat file.  Everything works great but we have a requirement to populate the Planning Area Variables based on BSP drop down list with values.  Does anyone know how to do this?  We have the BSP coded with drop down list all we need to do now is populate variables.  We can populate the variables through the planning level (hardcoded) but we need to populate them through the web interface.
    Thanks,
    Gary

    Hello Gary,
    We have acheived the desired result by not too a clean method but it works for us.
    What we have done is, we have the link to load file in a page where the variables can be input. The user would then have the option to choose the link to load a file for the layout in that page.
    By entering the variable values in the page, we are able to read the variables for the file input directly in the load program.
    Maybe this approach might help.
    Sunil

  • How to embed 3D models in web page using JAVA?

    Hello
    I'm doing a project at University to create a virtual tour of a village. I am creating the buildings in MAYA using polygon planes and cubes and then exporting to VRML.
    I plan to embed each individual model into a separate web page. Then when the user clicks on a location in a 2D map they will be taken to the web page containing that building.
    However, I can't work out how to embed these 3D models into web pages using JAVA. Can anyone help me with this, please?
    Also, I've been told to use JAVA 3D to interact with the project but am unclear as to how JAVA 3D would be used in this project - aqny ideas/suggestions welcome!
    M.

    If you use Java-plugin, you can embed Java3D in a web page.
    Here is the URL(http://www.geovista.psu.edu/products/demos/LorenzAttractor3D/index.html) which used Java3D.
    I hope this helps.
    Masa

  • How TO DEPLOY JAR FILES INTO XI Server using SDM

    Hi XI Gurus,
       im working on adapter development. we have created jar file in NWDS.
       now going ahead to deploy into XI server through SDM.
       can we deploy jar files directly into xiserver through SDM. or it needs to convert to any other formate like EAR, SDA. then how would i convert to SDA.
      i any have clear idea on this... pls throw the ways how to convert........
               JAR File to EAR format
               JAR file to SDA format
               EAR file to SDA format         
       can any one explain the procedure step by step how to convert jar file into deployment archive file in order to succesfully into XI server.
              thanks  i advance. points will be rewarded.
      Regards
      Rajesh

    Hi Rajesh,
    JAR file in itself in not deployable.
    So v need to envelop this jar file into an EAR file and then v deploy this EAR file on SDM.
    Creating Jar
    Inside NWDS --> Windows --> Open perspective --> J2EE Development --> right click on ur proj --> Build EJB Archive
    Converting .EAR file to .SDA
    Converting .EAR file to .SDA
    Regards,
    Prateek

  • Best way to publish Edge files into html page?

    Ok,
    So im looking for the best way to add my edge files into my html page.
    I want to make it easy to integrate edge with dreamweaver html files, e.g if I change anything in my edge project and publish it I dont need to transfer the html over to my page again.
    I thought the best way to do this was put all the edge files into there own folder within my sites_files folder and then use iframe. However when I did this, I can not figure out how to use CSS to style the iframe.
    this is what I have tried    
    <iframe id="test" src="mackbyte1_files/animation/power-out-setup/power-out-preview.html" frameborder="0" height="400px" width="940px" scrolling="no" >Your browser does not support this animation. Get a real browses made for the 21st century! We recommend Chrome or Firefox...</iframe>
    I have tried using a ID for the iframe which didnt work.
    Without the iframe my animation is centred in the screen from the CSS with edge html e.g
    .edgeLoad-power-out-preview {
              visibility:hidden;
                        #Stage {
              height: 400px;
              width: 940px;
              margin-left: auto;
              margin-right: auto;
              border-radius: 7px;
              background-color: #CCC;
    I have given up and just manully copy/paste the html into the page I want it in. this works fine however, as stated if i make changes to my animation i have to amend the html which is a little annyoying.
    Is there a fix?
    Thanks in advanced

    joel_pau wrote:
    Hi,
    Can you copy and paste your html code from "mackbyte1_files/animation/power-out-setup/power-out-preview.html" ?
    hey mate,
    this is it
    <!DOCTYPE html>
    <html>
    <head>
              <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
              <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=IE8"/>
              <title>p-o-preview</title>
    <!--Adobe Edge Runtime-->
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
        <script type="text/javascript" charset="utf-8" src="power-out-setup_edgePreload.js"></script>
        <style>
            .edgeLoad-power-out-preview { visibility:hidden; }
                        #Stage {
              height: 400px;
              width: 940px;
              margin-left: auto;
              margin-right: auto;
              border-radius: 7px;
              margin-top: 20px;
        </style>
    <!--Adobe Edge Runtime End-->
    </head>
    <body style="margin:0;padding:0;">
              <div id="Stage" class="power-out-preview">
            <div id="Stage_pw-point" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_usb-hub-pluged2" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_usb-hub-unpluged2" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_usb-for-hub" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_usb-hub-pluged-unlit" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_usb-cable" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_imac" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_usb_icon-power-out" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_Lightning" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_imac-off" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_shutdown-page" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_shutdown-page-30" style="display:none;"></div>
            <div id="Stage_imac-black-off" style="display:none;"></div>
            <div id="Stage_RoundRect" style="display:none;"></div>
            <div id="Stage_play-btn" style="display:none;"></div>
        </div>
    </body>
    </html>

  • How to embed an Applet into html

    Hi, I've an applet called IDrive written in Eclispe which works perfect there, I've been trying to paste the IDrive class file into my html folder and embed my applet by trying e.g.
    <applet code="../css/IDrive.class" width="300" Height="400">
    </applet>css is a folder outside the folder which contains the html file in which im trying to embed my Applet
    but no matter what I do i keep getting class not found error's, and as im totally new to applets I hope someone could please help me....
    Thanks

    I suggest you look at the applets under the demo directory and how they are done.
    Here are also some tutorials.
    [http://www.google.co.uk/search?q=applet+html+tutorial]

  • How to export spool file into HTML file

    Hi,
    I have one Oracle procedure which meets our business requirement. I am keeping the output data into a log file and I am sharing that log file to the users.
    Sample Code:
    spool path\logile.log
    declare
    begin
    dbms_output.Put_line('output will come here');
    end;
    Now I want to spool the same output data into a HTML file and need to share with the users.
    Can any one please guide me, how to export our spool data into HTML format?
    Thanks in advance.

    Hello 909127,
    welcome to the forum.
    This is the forum for the tool Oracle Reports, not a general forum for reporting. Your question might be better posted in {forum:id=75} or {forum:id=144}.
    Nevertheless you need to give us more information, how your output looks like now and what you expect in HTML.
    Regards
    Marcus

  • Silverlight application (example.xap) doesn't run when call in other pages using "Object tag"

    Hi!
    I have silverlight 3 installed with Visual studio 2008. installation is fine.
    I have created a  silvelight application including a test page.
    In my test page I used the "object tag" to call my application as it is suggested since silverlight 3:
    <object type="application/x-silverlight-2"
    data="data:application/x-silverlight,"
    width="450" height="220">
    <param name="source" value="MySilverlightApplication.xap"/>
    </object>
    At the run time, using the test page my application runs as expected. But when i call the same application in another page i have created, nothing happens: the web page is blank. I wonder why it works with the test page created at the same time with the
    silverlight application ( i have checked the radio button that required the test paged creation during the process of the silverlight application) and why it doesn't work with a page created separately.
    Thank you for your help!
    Joel

    Hi Andy!
    Hi Qimin!
    Thank you for your helps. But i want to let you know that the html code i wrote in my post is just an example so I will complete my post with more information.
    0- I have visual studio 2008 installed with silverlight 3.
    1- I have created a web project with a master page (my master page has a content page )
    2- I added a silvelight application: carousel.xap (during its creation I've accepted to add a test page: carouselTestPage.aspx)
    3- I added a main page Home.aspx: which inherits from the master page created in step 1, then I call my silverlight application in this content page using the object tag.
    Result of the tests during run time:
    My silverlight application carousel.xap works fine when I test it with the
    carouselTestPage.aspx.
    But my silverlight application carousel.xap doesn't work with the main page I added to my web project. the web content page is blank.
         Here below the script of the carouselTestPage.aspx
    and for the Pages_Home:
    carouselTestPage.aspx code
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head>
    <title>carousel</title>
    <style type="text/css">
    html, body {
    height: 100%;
    body {
    padding: 0;
    margin: 0;
    #silverlightControlHost {
    height: 100%;
    text-align:center;
    </style>
    <script type="text/javascript" src="Silverlight.js"></script>
    <script type="text/javascript">
    function onSilverlightError(sender, args) {
    var appSource = "";
    if (sender != null && sender != 0) {
    appSource = sender.getHost().Source;
    var errorType = args.ErrorType;
    var iErrorCode = args.ErrorCode;
    if (errorType == "ImageError" || errorType == "MediaError") {
    return;
    var errMsg = "Unhandled Error in Silverlight Application " + appSource + "\n" ;
    errMsg += "Code: "+ iErrorCode + " \n";
    errMsg += "Category: " + errorType + " \n";
    errMsg += "Message: " + args.ErrorMessage + " \n";
    if (errorType == "ParserError") {
    errMsg += "File: " + args.xamlFile + " \n";
    errMsg += "Line: " + args.lineNumber + " \n";
    errMsg += " + args.charPosition + " \n";
    else if (errorType == "RuntimeError") {
    if (args.lineNumber != 0) {
    errMsg += "Line: " + args.lineNumber + " \n";
    errMsg += " + args.charPosition + " \n";
    errMsg += "MethodName: " + args.methodName + " \n";
    throw new Error(errMsg);
    </script>
    </head>
    <body>
    <form id="form1" runat="server" style="height:100%">
    <div id="silverlightControlHost">
    <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
    <param name="source" value="ClientBin/carousel.xap"/>
    <param name="onError" value="onSilverlightError" />
    <param name="background" value="white" />
    <param name="minRuntimeVersion" value="3.0.40624.0" />
    <param name="autoUpgrade" value="true" />
    <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40624.0" style="text-decoration:none">
    <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/>
    </a>
    </object><iframe id="_sl_historyFrame" style="height:0px;width:0px;border:0px"></iframe></div>
    </form>
    </body>
    </html>
    2. Home.aspx code:
    <%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/MyMasterPage.master" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="Pages_Home" %>
    <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    </asp:Content>
    <asp:Content ID="Content2" ContentPlaceHolderID="MyContent" Runat="Server">
    <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
    <param name="source" value="~/ClientBin/carousel.xap"/>
    <param name="background" value="white" />
    <param name="minRuntimeVersion" value="3.0.40624.0" />
    <param name="autoUpgrade" value="true" />
    <param name="enableHtmlAccess" value="true" />
    <a href="http://go.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;">
    <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style: none"/>
    </a>
    </object>
    <iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px">
    </iframe>
    </asp:Content>
     so the application source is correctly supplied in the object tag description. so I wonder why it doesn't work with a separate content page in the same web project and work with this embedded Silverlight Test page.
    Thank you for your helps.
    Joël

  • Help with inserting SWF file into .html page

    I created a photo gallery in Flash CS5.5, using the advanced photo gallery template. It works fine as a standalone SWF file but it's not displaying properly when I try and insert it into the Gallery page of my website.
    The thumbnails are showing as blank white boxes and the main image holder isn't showing at all, though the controls beneath it are showing. The SWF file and all the images are stored in site/images/gallery/ and my Gallery page is in the root. What's going on here? Can anyone help please?
    Thanks

    If you are storing any of your Flash assets in sub-folders and having problems... it's most likely because of pathing problems. For review:
    Pathing issues
    Almost always when it works on the local machine and not the server, it's a pathing problem.
    You can put your Flash related files in whatever folders you want, they do NOT have to be in the root, they do NOT all have to be in the same folder. But if you have a problem and if sticking them all in the root folder works, then you know that the issue was a pathing problem.
    Just remember that paths used in the .swf become relative to the Web page on which the .swf is placed, NOT it’s physical location.  So for example, if your .swf is in the flash/data folder and you use that .swf on a Web page in the root folder, you are in effect, removing that .swf from flash/data and putting it in root. So if the .swf is loading any related files (xml, images, video, etc), the path used inside the .swf to load the .xml file has to be relative to it's new location in root and then back down into flash/data. This is true even though when testing the .swf by itself, it can be inside flash/data and work just fine, since relative to it's location, the path is just fine, they are in the same folder. But if that same path is used when the .swf is placed on a page two folder levels up, the relative path has changed, the old "same folder" path will not work.
    In fact if you are placing the .swf on a web page in a different folder than the .swf is stored in, and that .swf calls external assets, then direct clicking and opening of the .swf in it’s folder should NOT work! That’s because the paths to the external assets should be relative to the Web page and not the physical location of the .swf.
    So just be sure that you use addresses relative to the final Web page locations (not physical file locations) and you can put the Flash related files in what ever folders you want.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    What it boils down to is that you need to path the Flash assets from the Web page that you place the main .swf on... NOT the physical location of the .swf
    Best wishes,
    Adninjastrator

  • How-to show XML code into HTML page???

    I have not formatted String,
    String str = <target name=\"-post-compile\"><obfuscate><filesetdir=\"${build.classes.dir}\"/ > </obfuscate></target>;
    how I can show this String on Web page in the this format?
    <target name="-post-compile">
            <obfuscate>
                  <fileset dir="${build.classes.dir}"/>
            </obfuscate>
    </target>Thanks.

    You would need to escape all of the characters. ie < should become &lt; and > should be &gt etc etc; You would probably also have to put in the tabs/<br> tags in appropriate places.
    The JSTL c:out tag which automatically escapes characters for you, but how you want it laid out is completely up to you to program.

  • Most compatable file type to use when copying and pasting specially formatted text into html pages?

    Hello,
      I have a simple web site at http://www.psychicmeatloaf.com which is an online poetry journal site. I use files people send me (mostly .doc or .docx) and cut and paste the text from those files into html pages in an older version of Dreamweaver and some of the text has special formatting (like this page: http://www.psychicmeatloaf.com/Chang-poetry.htm ). The best way I have found to maintain the special text formatting is to open the .docx files and "save as a web page" in Word and then open the web page from Dreamweaver and then "Preview the page" in Explorer and copy and paste from the preview into an html page in Dreamveaver. Even using this method, some text will not maintain it's special formatting and for those I just save the page as a .jpg file and use that, because I have no other choice.
      My question is, is there a better way and is there a better file type to work from other than .docx?
    Thanks a milliom,
    George

    neophyte weaver wrote:
    The best way I have found to maintain the special text formatting is to open the .docx files and "save as a web page" in Word and then open the web page from Dreamweaver and then "Preview the page" in Explorer and copy and paste from the preview into an html page in Dreamveaver.
    That's a lot of steps to get to a single end that could be done with a simple copy & paste of the text into code. Like Photoshop and Fireworks, Word writes some very bulky and dirty code. I wouldn't recommend it for direct copy by the method described above.
    I personally copy the text and paste it into code view. It takes a little more work, but I don't get dozens of lines of inline styles added with it and using a preformatted post div (saved and hidden in the code (<!--post block code goes inside-->), I can quickly put title, date, byline and links up with a cut & paste.
    That's just my $0.02 worth
    Also, since nearly EVERYONE will use a different formatting in a Word doc, putting a bunch of differently formatted posts into a page will make it look like one of those ransom notes made of cut out text from different newspapers and magazines.  Better to keep everything in a single format (your format) so it doesn't become an eyesore.
    Message was edited by: Curtis_E_Flush

  • How to embed Labview-style charts objects into html pages?

    Hello all,
    I am building a C# (.Net) application that publishes html web pages. Certain pages must contain graphs that I refresh dynamically using select statement that query data from SQL SERVER databases. I like the look-and-feel of the Labview graphs and would like to know in details by which means I could embed them in my C# application. I have looked on the NI web site but aside of certain old articles about Components Works (CW) in Labview 8, have not found any other information on the subject.
    Also are there alternate objects that you know on the market that would be more easily embeddable into html pages and still have the same functions as the Labview graphing objects?
    Thanks a lot
    Christophe

    Hello Crist0phe,
    Like tst mentioned it might be a good idea to have a look at Measurement Studio and evaluate it.
    You can just download the trial version over here:
    http://sine.ni.com/np/app/main/p/docid/nav-99/lang/nl/
    FYI: You can consider Measurement Studio as the newer set of tools that replaced Component Works.
    You could kind of consider it as a "next step" in evolution after Component Works.
    Most .NET developers that use Measurement Studio also really like the WPF UI Controls, so for sure have a look at them while evaluating Measurement Studio.
    Kind Regards,
    Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
    CLD, CTA
    If someone helped you, let them know. Mark as solved and/or give a kudo.

  • How to change the file name of pdf file in html page?

    Hi,
    Actually my requirement is to upload 50 PDF files containing javascript in each file into flex page with the help of one html page.
    i did the the javascript part by using batch processing.
    now i want to call those pdf files one after another without changing the file name in html page
    the code written in html page is
    <html>
        <body>
            <object id="PDFObj"
                    data="http:\\localhost\pdf\20090807 - Batch 630.pdf"
                    type="application/pdf"
                    width="100%"
                    height="100%">
            </object>
            </body>
    </html>
    So every time i have to change that file name to acess another file.
    Is there is any other way to sort this problem????
    Plz anyone help me to sort out this problem with some code or some example.

    I once had a similar task for creating a webpage that I only use on my computer--a webpage that accesses PDF's and SWF's font previews from a list of fonts as "a href's".  What you must do is utilize the power of the command line, whether on a Mac on a PC or on Linux, Linux being the most powerful (although Mac IS Unix).  You must utilize variables, variable replacement, and then a command to print out the results of a "for" or "while" loop to a text file which will be your HTML file with each individual link automatically built into the HTML code.  You will have a list of 50 links.  If you are simply looking for a GOOGLE type functionality where you click on "Next" and "Previous" you will have to dig deeper into variable replacement--this I don't know how to do yet but there are books for command-line shell interpreters.  One shell interpreter is called "bash" (born-again shell) and there is a book on the market which gives a detailed example of how to replace variables in a shell script.  Again, I don't know how it works.  I will try to learn this at a later time when I am more seasoned with the basics of shell scripting.

Maybe you are looking for