Opening brower with URL of file contained in WebStart cache

Hi all,
I've written a webstart application that needs to open a browser and show some help pages that are stored within the webstart cache.
I'm using the BasicService.showDocument() method to open the browser. My problem is that I don't know how to obtain the URL of the index.html that I want to show. The URL below is returning a URL that the browser does not understand:
URL: jar:file:C:/Documents%20and%20Settings/Dados%20de%20aplicativos/Sun/Java/Deployment/javaws/cache/http/D128.1.1.111/P9080/DMfupws/RMfup.jar!/help/index.html
private void showHelp()
    try
        // Lookup the javax.jnlp.BasicService object
        BasicService bs = (BasicService)ServiceManager.lookup("javax.jnlp.BasicService");
       // Get the URL of the help index
       URL jarURL = this.getClass().getClassLoader().getResource("help/index.html");
        bs.showDocument(url);
catch( UnavailableServiceException ue) {
               ue.printStackTrace();
}Anybody know if this is possible?
thanks in advance!
Craig

You HTML file is inside a jar file, of course a web
browser won't be able to open it. What you can do is
to save the HTML pages in a temp directory on the
local drive and point the browser to index.html in
that directory.Thanks for your reply.
I had thought that copying the files would be an option, however I just thought I'd ask to see if there existed an existing mechanism to perform this task.
Another option I tried was using Rachel (http://www.vamphq.com/resources.html) which is meant to simplify resource loading in Web Start. Unfortunately the openBrowser() method refused to work with Rachel specific class:// URL handler.
If anyone has had any success using Rachel to do this, please reply.

Similar Messages

  • I downloaded an update for my Safari web browser to "snow leopard". When I click on the .dmg file, a window opens up with a .pkg file but when I click on the .pkg file I get a prompt saying that it doesn't know what program to open it with. with a

    I downloaded an update for my Safari web browser to "snow leopard". When I click on the .dmg file, a window opens up with a .pkg file but when I click on the .pkg file I get a prompt saying that it doesn't know what program to open it with.

    I suspect if you're trying to open a file in 08 that's been opened in 09 the file has been updated to 09 and will not open in 08.

  • Url to file contains question mark...is this causing an error in itunes?

    hi!
    hope someone can help. my podcast file is stored at an address such as the one below:
    http://www.mysite.com/webmedia.php?irn=234
    however, this doesn't seem to generate a media enclosure with itunes rss. i know there is an issue with spaces in file names, is there a similar issue with question marks?
    thanks!
    grenadillo

    It's not the question mark as such, but the fact that the URL is using a PHP script to locate the podcast file. You need to provide a direct URL to the file itself.

  • I have serious problems with Muse swf files containing movies. How I can fix them?

    I created swf format documents with InDesign. These documents contain movies in mp4 or flv format. When I put these documents in Muse I programmed processes work perfectly except the films, which are not displayed. I have observed that in the folder that is generated when exporting as HTML does not contain any video files swf containing original documents. Please, I need a solution. Thank you!

    Hello,
    Please take a look at this informative post which talks about the same issue: http://forums.adobe.com/message/5123447
    Hope this helps.
    Cheers
    Parikshit

  • If button press, open mail with active project-file as attach?

    Greetings community,
    I have followed question.
    I have a MS-Project Add-In and I have a mask in it. (VB.net - Visual Studio 2012)
    I want to create a button in this mask. If the user click to the button, an e-mail should create (with the local installed mail application), I fill the mail addresse (TO), Subject, message body and the active project file as attachment.
    The user can manuel send this mail.
    Is this possible?
    Regards
      Michael

    Hi,
    AFAIK this will work using the Mailsend method. Below is the help:
    Application.MailSend Method (Project)
    Sends a mail message.
    Syntax
    expression.MailSend(To, Cc, Subject, Body, Enclosures, IncludeDocument, ReturnReceipt, Bcc, Urgent, SaveCopy, AddRecipient)
    expression A variable that represents an Application object.
    Parameters
    Name
     Required/Optional
     Data Type
     Description
    To
     Optional
     String
     The user names of the primary recipients of the message, separated by commas.
    Cc
     Optional
     String
     The user names of the secondary recipients of the message, separated by commas.
    Subject
     Optional
     String
     The subject of the message.
    Body
     Optional
     String
     The main text of the message.
    Enclosures
     Optional
     String
     The file names of one or more files to include with the message. Use the list separator character to separate multiple file names. Do not add space between the list separator and the file name.
    IncludeDocument
     Optional
     Boolean
     True if the active project is included in the message. The default value is True.
    ReturnReceipt
     Optional
     Boolean
     True if a message is sent to the sender when the recipient opens the message. The default value is False.
    Bcc
     Optional
     String
     The user names of the message recipients which are not displayed, separated by semicolons. This argument is only supported in Microsoft Project for the Macintosh version 4.0
    Urgent
     Optional
     Boolean
     True if the message is given a high priority. This argument is only supported in Microsoft Project for the Macintosh version 4.0.
    SaveCopy
     Optional
     Boolean
     True if a copy of the message is saved in the SentItems folder. This argument is only supported in Microsoft Project for the Macintosh version 4.0.
    AddRecipient
     Optional
     Boolean
     True if recipients of the message are added to a personal address book. This argument is only supported in Microsoft Project for the Macintosh version 4.0.
    Greetings,

  • Crash when try to open song with missing exs-file.need shortcut!

    Hi there
    I would like to ask, if there is any idea where I can get a list of shortcuts/keycommands for startroutines in logic. I can´t open my songs anymore because logic can´t find some exs-files. instead of just leave these files as "missing", logic crashes.... I need to start the songs without driver. Any idea, how?
    Thanks for an answer, Mitsch

    Just open Logic without loading a Project->Prefs->Audio->disable Audio core->then open your damaged projects.

  • Opening Browser with URL from Forms

    Hi,
    We can open internet browser by using HOST command in FORMS. How to open specific URL into the browser through FORMS.

    Hi,
    The following Host built-in takes you to the specified site,
    Host('Netscape http://www.oracle.com');
    Best Regards,
    Deepak Rai
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Rama Ala ([email protected]):
    Hi,
    We can open internet browser by using HOST command in FORMS. How to open specific URL into the browser through FORMS.<HR></BLOCKQUOTE>
    null

  • Archiving object in open hub with logical file name

    Hello,
    I am trying to use an open hub with a logical file name.
    By the SAP help looks like you have to use/define a archiving object:
    http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/8d/3e4ec2462a11d189000000e8323d3a/frameset.htm
    Steps 1 and 2 of "Defining Logical Path and File Names" are done and tested:
           1.      Definition of the logical path name
           2.      Definition of the logical file name
           3.      Assignment of the logical fine name for the archiving object
    But is it not clear to me if an archiving object is suppose to be used, which one then?,  or if you have to create a new archiving object, with which characteristics?
    Any help welcome,
    Alberto.

    Alberto,
    Can you explain what you are trying to do. Are you trying to archive data from a BI object or are you trying to export data out of a BI object using open hub.

  • [solved] Xdg-open to open everything with file manager

    I like to screw around with my system constantly and xdg-utils is an annoying utility to have to constantly fiddle with. I know there is a way to get xdg-open to open everything with the default file manager, but my google fu has failed me. As of right now I use pcmanfm, and I'm fairly certain I'm sticking with it for the long haul.
    Last edited by shamanstk (2010-05-11 17:57:15)

    Mr.Elendig wrote:perl-file-mimeinfo installed?
    This helped with a xdg-open anomaly. Before installing perl-file-* packages, pcmanfm used to open everything in firefox (which is set as default browser in xdg-open). Thought could be helpful to anyone having problems with applications using xdg-open.
    Last edited by shemz (2010-08-03 15:02:52)

  • SSIS none text qualifier results in text file containing "_x003C_none_x003E"

    There is a bug in SSIS when exporting data from SQL to a comma delimited text file where you specified no text qualifier.
    This bug apparently only occurs when you develop the SSIS on a x64 win7 PC and copy the .dtsx file (windows explorer copy/paste) to network path of a x86 SQL server and schedule the job to run from SQL Agent on the same x86 SQL server.
    When the SSIS runs, the text file is written out containing text qualifier = "“_x003C_none_x003E".
    If you look at "
    _x003C_none_x003E", it actually means <none>.  x003C = "<" and x003E = ">".
    If you go into the SSIS package, double-click in the connection manager section to open the flat file connection manager editor and try to clear the text qualifier removing the <none>,
    the <none> value get added back in.
    The only work-around is to NOT open the
    flat file connection manager editor, but instead make the change using the property window and clear out any value in the TextQualifier field.
    Other similar problems occur when you actually want to put a real value in the text qualifier.  For explain if you select the double-quote as the text qualifier and copy to a
    x86 server and run, you end up with a text file containing the value "
    _x0022" around each field instead of a double quote.
    In my mind this is a serious bug, I did some research and other people have been having this same issue.
    FYI, the SQL server is currently SQL2008 with SP2.  I will try to get it updated to SP3/4 this weekend to see that will help.
    FYI2, when I am developing the SSIS using VS2008 and my local test/run is done through visual studio on my Dev PC (x64).  Everything works fine this way.  I do not have a instance of SQL on my machine so I did not test it running from SQL Agent
    on my PC.

    Todd,
    Sorry to revive an older post, but we are currently running into this problem...again, but this is happening on SQL Server 2008 R2 SSIS servers and the corresponding developer machines.
    Everything that I'm finding in forums and blogs pretty much points that this is an issue with build mismatches (i.e. one system not being caught up to the server while others are), but I have yet to find anything that really outlines how to properly rectify
    the situation and prevent it from happening going forward.
    Currently all but our production server (from a server perspective) are exactly the same version numbers (same CU applied).
    I can't really speak to all of the developer boxes, but mine matches all but the production server (production is showing a lower number than the expected 10.50.2500.0).
    As shown below, what is really odd is the second entry and last entry.  Second entry is showing SP1 as the generic identifier, but yet shows Build 7600.
    The bottom one shows RTM in the generic identifier, but yet shows Build 7601 Service Pack 1, and the version number isn't the expected 10.50.2500.0.
    SQL Server Version
    Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64)   Jun 17 2011 00:54:03     Standard Edition (64-bit)
    on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)
    Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64)   Jun 17 2011 00:54:03     Standard Edition (64-bit)
    on Windows NT 6.1 <X64> (Build 7600: ) (Hypervisor)
    Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64)   Jun 17 2011 00:54:03     Standard Edition (64-bit)
    on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)
    Microsoft SQL Server 2008 R2 (RTM) - 10.50.1617.0 (X64)   Apr 22 2011 19:23:43     Standard Edition (64-bit)
    on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)

  • Bridge is opening all of my RAW files as jpegs when I import them from iPhoto

    I have set my iPhoto preferences to send my RAW photos as RAW when using an external editor. If I only use ACR, this works fine, but if I want to use CS4 they are all coming over as jpegs and I then have to work w them as jpegs. I have PSE 8 . Do I have to do something before I open CS4 to have them come over in RAW format?

    Not Very familiar with iPhoto but I think you do confuse two approaches for
    your files. If you choose to work from iPhoto it takes the originals but
    when using Bridge it might be an exported version in jpeg.
    If you have PSE 8 with Bridge CS4 I would suggest you make a choice in
    workflow and use Bridge as starting point. You can import your Raw files in
    Bridge using Photodownloader (get photo's from Camera in Bridge) preferable
    use a card reader for this.
    And/or copy the older original Raw files to a new folder.
    You can find the originals that have been imported using iPhoto in the
    picture folder/iphoto library. Click on the icon and with right mouse click
    choose show package content. In this new window you will see a file called
    originals with subfolders. Inhere find the ones you want and copy them to a
    new folder from your choice (either in the picture folder or elsewhere, but
    obvious not in the package window for iPhoto, you won't see them after you
    closed the package content window...)
    Choose copy because in this way your iPhoto library and folder structure
    stays as it is.
    Now point Bridge to the folder with this copied files and let it cache the
    files first (takes some time).
    With this workflow you can manage your Raw files (rate, rename, adding
    metadata and keywords etc.) and develop them in ACR and PSE. If you do want
    to use the album structure from iPhoto you can choose to save your developed
    files either as jpeg or tiff and place them in iPhoto.
    It might be a better workaround because iPhoto is not the best application
    to handle and develop Raw files, you have a lot more options in Bridge and
    PSE
    I have set my iPhoto preferences to send my RAW photos as RAW when using an
    external editor. If I only use ACR, this works fine, but if I want to use CS4
    they are all coming over as jpegs and I then have to work w them as jpegs. I
    have PSE 8 . Do I have to do something before I open CS4 to have them come
    over in RAW format?

  • Project settings for .AVI files containing SVHS footage?

    What are the best Project Settings to use with (uncompressed) .AVI files containing SVHS camcorder footage in NTSC 4:3 format.
    SVHS is not explicitly mentioned in the choices.  I would like to retain as much resolution as possible.
    Details:
    Source = Magnavox Movie Maker Camcorder
    Tape Format === SVHS (2 hours per tape)
    Video Standard = NTSC
    Aspect Ratio === 4:3
    Converter ===== Tapes were converted to .AVI files using a Canopus ADVC300 (S-Video in to Firewire out) .
    Compression == I believe the files are uncompressed.  2 hours of footage is about a 25 GigaByte file. 3.47 MegaBytes per second?
    Audio ======== Stereo
    As a guess, I would choose NTSC-DV-Standard 48Khz .
    Is this the best choice?
    Will this setting preserve all the SVHS video resolution ?
         Thank you,
         Gerald

    Your guess is correct. During the Canopus digitizing your SVHS input is converted to 720x480 NTSC. The digitizing produces a complete video input that PRE captures. Averages of around 13GB per hour are typical. So from the figures you have quoted your digitizer has done its job properly.
    Digitizing tapes was the subject of a long topic discussion earlier this month - you might find it interesting: http://forums.adobe.com/message/5906986?tstart=0. While that discussion was relating to VHS tapes, SVHS still only produces around 400 usable horizontal lines, so the Canopus will have captured it all at 720x480.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • Problem with opening URL (articulate) file in Captivate 3

    Hi,
    I created a Captivate 3 file, hoping to link an Articulate .html file if I click on a button.
    I created a text button:
    On success: open URL or file
    URL: Z:\Tutorial\WebsiteTutorialReviewandSurvey_09_03_10\quiz.html
    If I publish this file, I am able to play this file on my computer or any computer that is mapped to this drive. However, when I open the file on other machines, where this drive is not mapped, then the file cannot be opened. The file will be sent to other users who will not have access to my local drives, so I'm not sure how to set up my URL directory.
    Can someone please help???
    - is it the directory? "Z:\"
    - I've also changed that to start off as \\servername\Tutorial\WebsiteTutorialReviewandSurvey_09_03_10\quiz.html = this also does not work
    Thank you so much!

    Hi, You most likely will find help at this Forum:
    http://forums.adobe.com/community/adobe_captivate/adobe_captivate_general?view=discussions &start=0
    Also when you first open your thread here on the Flash Forum, you'll see a section to the right "More like This" that may be helpful as well.
    Thanks,
    eidnolb

  • Issue with project having Tag File containing definition of other Tag File

    Hi Everyone,
    I have a small problem which you experts are able to help with.
    As the subject of this Post has suggested, I have a project which was originally built in NetBean 6.0 and I'm trying to migrate it across to JDeveloper 10.1.3. So far, I've managed to compiled all jsps and java source files successfully but I'm now stuck with the following error messages during building of the project in JDeveloper:
    --- START OF ERROR ---
    Error(6): Unable to instantiate tag: menu:tab (class: oracle.jsp._tag._tabmenu._tab_tag) Make sure that the tag class is available and that the tag library containing the class is not excluded from this application.
    Error(6): Unable to find class for bean: null defined by tag with class: oracle.jsp._tag._tabmenu._tab_tag
    --- END OF ERROR ---
    I believe the reason was that I have this Tag file (menu.tag) that contains definitions and references to another Tag file and here is its content:
    --- START OF TAG FILE ---
    <%@ taglib prefix="menu" tagdir="/WEB-INF/tags/tabmenu" %>
    <%@ attribute name="tab" required="true" type="java.lang.String" %>
    <jsp:useBean id="login" class="au.wa.apa.webbeans.WrsLogin" scope="session" />
    <div id="menu">
    <ul>
    <menu:tab tab="NEW" currentTab="<%=tab%>" label="New Query" tooltip="Create New Query" url="aq/adv_new_query.wrs?formMode=new"/>
    <menu:tab tab="OPEN" currentTab="<%=tab%>" label="Open Queries" tooltip="View Open/Active Queries" url="aq/adv_queries_list.wrs?view=OPEN"/>
    <menu:tab tab="CLOSED" currentTab="<%=tab%>" label="Closed Queries" tooltip="View Closed Queries" url="aq/adv_queries_list.wrs?view=CLOSED"/>
    <menu:tab tab="SEARCH" currentTab="<%=tab%>" label="Search" tooltip="Search Query" url="aq/adv_queries_search.wrs?view=OPEN"/>
    <% if (!"STAFF".equals(login.getUserType())) { %>           
    <menu:tab tab="ATTN" currentTab="<%=tab%>" label="Attention Of" tooltip="Attention Of Administration" url="aq/adv_query_attention_of_list.wrs"/>
    <% } else { %>
    <menu:tab tab="TEMP" currentTab="<%=tab%>" label="Templates" tooltip="Template Management" url="aq/adv_query_template_list.wrs"/>
    <% } %>
    </ul>
    <div class="clear"></div>
    </div>
    --- END OF TAG FILE ---
    I've this problem for several days now and have not been able to solve it and I hope you are able to help me with this problem. Thank you for time and assistance and have a nice day.
    Kind Regards,
    John

    Hi Guys,
    Do we have any workaround to this problem? Any feedback will be welcomed.
    Thanks and Regards,
    John

  • I saved a word file onto my imac.  when i go to open file in documents with pages the file is grey and unable to open.  the workable files are highlighted in bold.  is there a way to open this file????

    i saved a word file onto my imac.  when i go to open file in documents with pages the file is grey and unable to open.  the workable files are highlighted in bold.  is there a way to open this file????

    THis is safe for Mac's? Sorry, I have just never heard of this site before.
    And there are literally tens of thousands of sites of which I've not heard, too. Not this one.
    It's legit. There are lots of links in Apple Support Communities to the LibreOffice web site, as well as others that are legitimate open-source developers of options to buying MS Office, such as NeoOffice and OpenOffice. I have Open Office installed on one of my older Macs that can't run Office 2011 and it is rock-solid.
    I've been here too long to start posting bogus urls now.

Maybe you are looking for

  • In ODI where we maintain the folders for a file system

    Hi all For file system,I have to maintain different type of folders in Dev server.for example Input,Process,Error,Log,etc..Where we going to maintain these folders in the devlopment server? Can you be clear about the File system is maintained in the

  • How to run and stop LabView code without using start and stop buttons

    Hey I've attached my code that I'm going to use with thermocouples. What I'm trying to do is: when I hit start button the code should run for a minute then stop for 5 minutes and then start again, this process should be repeated twice . Could you ple

  • Sales Order line item Partner Function issue.

    Dear Guru's I want to assign the (Employee response) partner function ER more than 5 times in Sales Order line partner function tab, but system is not accepting for that. Please suggest me how to over come this issue with out assigning the u201CERu20

  • Error when create XMLType object with JDBC connection

    Hello, I try to get an XMLType object with JDBC, but it doesn't work. Can somebody help me? My code is : Class.forName("oracle.jdbc.driver.OracleDriver"); Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@"+"a02w03:1521:PROJET", "scott

  • Cannot open my library. iPhoto says I opened it before with a newer version which is not true.

    Cannot open my library. iPhoto says I opened it before with a newer version which is not true. I am using Snow Leopard and iPhoto 7.1.5 which seems to be the latest update. How can I reach my photos? I don't particually care for iPhoto anymore since