Linking between jar files

I'm trying to create links between topics of different jar files but cannot get it to work.
have tried a few different ways to do this:
<a href="jar:file://../jarfilenam.jar!/htmlfilename.htm">
<a href= "../jarfilename.jar!/htmfilename.htm">
<a href="/jarfilename/htmfilename.htm"> none work. Any insights?
thanks
Margaret

Hey Margaret,
we have the same problems. Did you found a solution?
The funny thing is: sometimes a reference in the style
works - but not constantly! We had three references in this style in one html-page and the first one of them works in our development environment. In the productive environment (with WebStart-technology) no link works. It's also not clear, to witch object the path should be relativ: from the folder, the HTML-page resides? Do you need one more "../" to step outside the jar?
By the way: does anyone knows, how JavaHelp finds it resources like GIF's, wich are referenced from HTML-pages? If I have the same filename in more than one JAR, it's normaly not defined, which one is loaded with the getResource-method of the class loader, or am I wrong?
We have different JAR-files with same resources, for example "hallo.gif". In each JAR-file is a HTML-page, wich loades this GIF. If I delete the GIF in one of the JARs, the HTML-page in this JAR doesn't display the GIF. The other HTML-page works still fine. It looks like the resources are only searched in the same JAR. Am I right??
thanks
Olaf

Similar Messages

  • How to link a jar file in a ppt slide

    Dear members
    I gave a hyperlink to a jar file from a power point slide,but there is a error like this .
    There is java virtual machine launcher error.
    The jar file i have used is quad.jar
    JAVA VIRTUAL MACHINE LAUNCHER
    Falied to load Main-Class manifest attribute
    c:/documents and settings/desktop/quad.jar
    Can any body help me in solving this problem.What is the solution.
    Your comments and suggestions are appreciated.
    Thanks in advance.
    Sravan

    I got an Idea!
    Falied to load Main-Class manifest attribute
    c:/documents and settings/desktop/quad.jar
    It's the silly idea of MS to use blanks in foldernames.
    It's very silly to accept this.
    You may try this:
    "c:/documents and settings/desktop/quad.jar"
    (with those quotes
    or this:
    c:/documents\ and\ settings/desktop/quad.jar
    (backslashes masking the blanks)
    or that:
    c:/programs/quad/quad.jar
    and create the folder and put the jar there.
    It's no good Idea to put something directly into the folder 'Desktop', if this is the representation of your gui-os-desktop.
    Instead, put the file somewhere, and create a link in the desktop-folder, to the real location.
    So you may clean your desktop from it, but have the original file still in it's location.
    You may try a new version and only change the link.
    Of course windows-links aren't that powerfull, like linux-links, but we need some windows users, to have some fun, so stay at windows :)
    (sorry - couldn't resist).

  • Linking between SWF files

    I need to general advice while protyping my website. I'm
    creating separate somewhat large swf files for each page of my
    website. Therefore, each will need its own html file if I don't
    want it take 3 years to go between pages. I'm confused how to link
    between the each page using a button in flash. Is this an action
    script thing? My links will be static text buttons. Thanks.

    Thanks. I think I get it, but I want to be sure. I think I
    need to be a little clearer:
    One SWF file inserted as my entire index.html page. Right now
    I have a static text button in the SWF file home page that says
    "About Us". I'm designing a new page that will also be its own SWF
    file for "About Us". I have a new www.xxxxx.com/aboutus.html page
    that I plan to put the file in when finished. In the text button on
    the homepage, do I use AS3 URLRequest("
    http://www.xxxxxxx.com/aboutus.html")
    to navigate. Thanks.

  • Difference between jar file and package?

    What is difference between a package and jar?
    Is a jar a package? or is package jar?
    If I say
    package pink;
    does it mean pink is folder or jar?
    what if I say import pink.rose;
    does it import jar file with the rose class inside it?

    These two concepts are unrelated. A jar file is nothing more than a zip file of class files and other related resources, which you can use to 'bundle' your application for ease of deployment. Th use of zip files is not mandatory.
    Packages on the other hand, are a means of 'packaging' parts of an application or library in their own namespace, generally for reasons program structure, and to avoid naming collisions. A bunch of classes in a package will be compiled into a bunch of class files, on a one-to-onwe basis (one file per class).
    You may chose to 'bundle' those and other classes into a jar file.

  • Link between swf files.

    Hello. I need to find a way to link multiple .swf files, so I may have a menu and after clicking a button go from there  to any swf file and back. But i need something that works in AS 2 and 3 because my files are in both ActionScripts. It shouldn't be a problem, right? Ive been looking for and trying different things but i can't do it.
    Hope someone can help
    Thanks.

    Also I have this code that works in AS3 but only for one button, when I try to make another one flash marks error. I cant link another button with another file.
    var loadedSWF:Loader = null;
    * Loads an SWF and adds it to container once complete
    * @param file The URL to the SWF to load
    * @param container The container to add the SWF to
    function loadSWF(file:String, container:MovieClip=null):void
        if(container == null) container = MovieClip(root);
        // removes the previously loaded SWF
        if(loadedSWF != null)
            if(loadedSWF.parent) loadedSWF.parent.removeChild(loadedSWF);
        var req:URLRequest = new URLRequest(file);
        loadedSWF = new Loader();
        loadedSWF.load(req);
        addChild(loadedSWF);
    mybutton.addEventListener(MouseEvent.CLICK, _click);
    function _click(e:MouseEvent):void
        loadSWF("myfile1.swf");

  • How to share callback function between jar files?

    I have jar file on client side with class A that download class B from jar from server side. Class A call method from class B. But parameter of this method should be callback function. What is the better approach to write with code? I want to use code &#8220;void my_method(Object ctx, Method m)&#8221; But I think it is not a good approach to set callback in class B.

    Thanks, more questions:
    I used method one since we already set up an additional user account in windows for my daughter. If I should use method two, then I would need to know how to delete this and reset the ipod to use under one user account.
    My daughter's and my itunes music folders are located on a separate hard drive dedicated for our music files.
    1. I was able to add individual songs to her music files using the instructions regarding "add a library". I was hoping to make a play list in my itunes account and export it to hers as a group, or do I have do add each one individually through the "add to library" command?
    2. Step 4 in "To listen to another account's music files:"
    is "Deselect the "Copy files to itunes Music folder when adding to library file" option". I assume I then re select this when I am done copying files. Right?
    Thanks

  • Difference happened between jar files by Jbuilder and ANT.

    I have a java project, and write an .xml file for it. I found that when I use this build.xml file to build the project in JBuilder, it generated a .jar file. Later when I go to command line and use this build.xml file directly with ANT, another .jar file is generated. The 2 files are different (The version of JDK and ANT are same).
    Has someone met such phenomenon before ? Or who can tell me what the reason is ?
    Thanks a lot.

    I too had the same. If U got any info plz do inform me........

  • XI R2 link between CUID and the file name in the I-FRS

    Hi,
    I would like to know how can I make the link between the file name of a webi document in the I-FRS and the CUID of this document in XI R2.
    In the activity universe, I made a report showing a list of webi document with their CUID.
    I would like to find them back in a backup of the I-FRS.
    In XI R3 it appear that the name of the webi document in the I-FRS is the CUID of this document.
    Vincent

    I'm sorry but you're in a really, really bad place.  I've thought about this and can only come up with one idea.
    Webi docs in XIR2 cannot be opened directly as a crystal report or deski file can.  You would need the rich client in XI 3.1 in order to open any of the .wid files stored in your I/O folders.  And even then, you might get a security error when opening since the docs were created inside another environment. 
    But if you open a webi doc with wordpad, it will give you the document name as well as a bunch of other info. Make sure you use wordpad and not notepad, otherwise formatting will make it near impossible to read.  Search for this section:
    <DOCUMENTPROPERTY NAME="name">Average Refresh Time</DOCUMENTPROPERTY>
    Unfortunately, there's really no easy way to do this.  Start with the Input FRS since those represent your report templates.  The Output FRS are all of your scheduled instances.  Since you have the auditing db, you could report off of it to give yourself a unique list of all report names and start cross referencing what you find doing the wordpad trick.  But I don't see an easier way.  Windows doesn't see the .wid file as text and therefor won't search within the file when doing a text search.  It'll only search the file attributes.  The bigger problem I see is even when you have your list of document names matched to a physical file, what are you going to do with it?  Importing a loose Webi doc into XIR2 isn't possible.  Plus, you're still missing the universes and universe connections.  Your webi docs rely on these to process. Your only chance would be to try the XI 3.1 Webi Rich Client and see if that allows you to open but you'll still have the universe problem.
    I wish I had better advice for you.  Ultimately if you could find a backup of the CMS db somewhere that would help tremendously.  Without it, you have next to nothing.

  • Multiple HTML-files in one stack / link another HTML-file in a stack

    Hi,
    I want to integrate a webapp (html/js) into a stack of a dps-folio. All the HTML works fine ... all no problem, but at clicking the first link on the initial HTML-document the next (local) HTML-File is opened in a slider with a "ready"/"Fertig"-bar at the top. But I want, that all html files are seamlessly loaded in the same view.
    At this point i found: http://help.adobe.com/en_US/digitalpubsuite/using/WS67cb9e293e2f1f60-8ad81e812b10bfd837-80 00.html and i made the file "NativeOverlays.config" and moved it to the described location. After that, the behaviour was correct in the desktop-preview-app of the DPS, but it still fails on the iPad-Adobe-Viewer.
    How can i link between HTML-files without any interuption or sliding?
    Thank you!
    Christian

    Hi Tim,
    Thanks for replying. I have looked for "PDFBookBinder class" in xml publisher user guide for ver 5.6.2. I didn't get any reference of this text. Can you please guide me to a tutorial/link where i can get more information about this class.
    Also, i originally thought of similar to your second logic, as my design basis. Oracle process generates the xml file in output directory which i can get. What i didn't get is how do i "pick them up and merge" using publisher. Also, is there way to do this merging process using pl/sql ? Can you please give little more information on your second approach.
    My original plan of action is that i will create a report set in which i will call oracle seeded report for all 7 payrolls in a sequential manner. Then using the child requests of the report set i will get to 7 xml files generated by seeded oracle process. Then the piece i am not sure of , i will use those 7 files to generate a single xml file having payroll name as tree top for each output. Once single xml is ready, i can easily design a template and register the process to generate output as Excel.This process will not require me to actually change any data or do any calculation. It will only reformatting the feilds we see and abiity to see all 7 payroll at one time rather then entering these numbers manually into an excel to do analysis.
    Please provide your feedback, if you think above plan is not feasible or need corrections.
    Best Regards,
    Ankur

  • Linking between books for PDF export

    Does anyone have any suggestions as to how to go about setting up links between books in such a way that they'll export to PDF? Here's my scenario: I have two books (indb files with many indd files each). One of the books needs to link to text anchors I've set up in the other. However, linking between the files doesn't work because each book is exported as a single PDF. I had planned to merge the files of the book that is being linked to prior to creating the links, but no matter what I try, Move Pages causes reflow (and given the length and intricacy of the documents I'm sure it's not worth the time to try to fix the reflow; I'd be better off linking the PDF by hand).
    Is this just not a possible workflow? I considered linking to a 'dummy' file that was named like my second book is named, but from what I can tell ID doesn't really export the text anchors in any usable fashion; you either get the links when you export or you can't massage them into being. Any advice would be appreciated.

    This is an interesting suggestion, but I'm not sure how it would work. I've tried outputting one PDF from this combo-indb file and then extracting the pages out into separate PDFs, but the links are lost. I've also tried selecting just the files from each of the actual books within the combo-indb and exporting PDFs for each one, but in that case it assumes it's looking for an anchor within the same PDF. Did you have another approach in mind?

  • Jar files with oracle jdeveloper

    Hi, wondering where in jdeveloper do you go and select where to link to .jar files?
    thanks

    I've observed this problem with certain AV tools. Some fare much better than others (inside Oracle, we use Symantec AV and I see very little slowdown even when it's scanning jar files in jdev's install directory).
    You didn't mention which version of jdeveloper you're using. Assuming 10.1.3 preview, the directories to exclude from scanning would be either the whole of your jdev install directory, or if you must be more selective, something like:
    %JDEVHOME%/jlib
    %JDEVHOME%/jdev/lib
    %JDEVHOME%/ide/lib
    %JDEVHOME%/jdev/extensions
    %JDEVHOME%/lib
    Would be a good start. These directories contain the bulk of the jars loaded at IDE startup.
    Thanks,
    Brian

  • File not found in Link Between Projects Window - test no edit rights to other file

    Hi,
    I am doing a test to see if i can create a link by typing the link path (f.i. <>\plan2\1) in the predecessor column without having edit rights to the other plan.
    I expect this to be possible as the edit in the other plan (creation of link) is only done after the change is accepted through the LBP (link between projects) window. Besides, when i do it to both my own plans, in this LBP window i get 'create external
    link' as difference to accept.
    When I do it on Project Server 2010 to a plan I do not own or having edit rights on, I got the message 'file not found'.
    Is this message related to what I am trying or does it have another cause?
    Does someone know if what I want can be done?
    Rgds
    Sander

    Hi Sander,
    I confirm that for creating a link between projects, you need to have access in read-write to both files.
    Indeed creating such a link will write in both files information about successors (in the source file) and predecessors (in the destination file).
    Note that if you only need to update the successor, you don't need anymore to open in read-write mode the source file, since you won't write any more information in it.
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • When I try to play some of the songs in my itunes library, I get a prompt saying the file could not be used.  When I hit the "locate" button, it still won't locate the file.  I didn't delete any of these tracks and there is no common link between them.

    When I try to play some of the songs in my itunes library, I get a prompt saying the file cannot be used.  When I hit the locate button, the file cannot be found.  I didn't delete any songs/files and there is no common link between the missing songs.

    Hello there, Paso Kid.
    The following Knowledge Base articles provide some assistance with locating content in your iTunes Library:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    and
    Where are my iTunes files located?
    http://support.apple.com/kb/HT1391
    If you have already reviewed those steps and still cannot find the songs you purchased from iTunes, delete the songs and download them again using the information in this article:
    iTunes 11 for Windows: Download previous purchases from the iTunes Store
    http://support.apple.com/kb/PH12491
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How can I keep the links between pages in a PDF file after the file has been saved?

    My accounting department has just starting using Adobe Acrobat XI Standard to make our account reconciliations.  I like that we can create links between one page and the next, so that we can show our supervisor where the account balances tie to the supporting documentation.  But I have noticed the links disappear after my supervisor reviews and signs the PDF file.  Is there a way we can keep the links after it is signed?  Please note that we are not using EchoSign, just the “place signature” function in Acrobat.

    When a document is signed, the signer has the option of locking the document. The links won't be active if the document is locked, so to avoid this, instruct the signer not to lock when signing.

  • Install from scratch 3 times Mavericks but cannot used my restore it will just start for ever. After first install and restore mail and link between folder and files didn't work anymore. Now cant see my disk in finder. Help?

    First install through regular update : never finishing the start after automatic restart
    First install from scratch: erase through disk utility, install OS X Mavericks (using Recover mode), restart ok - Used Migration Assistant to restore applications and data only - Mail crashed each 5 inutes and asked constantly for password of my 2 accounts, links between folders and files not OK and attaching a doc was complicated. I downloaded the update same problems
    Second install from scratch: erase through disk utility, install OS X Mavericks (using Recover mode), restart ok - Used Migration Assistant to restore applications and data only and settings : never finishing the start after automatic restart
    Third install from scratch: erase through disk utility, install OS X Mavericks (using Recover mode), restart ok - But no disk available in Finder
    So far no Mac since 3 days ...
    Any help is welcome

    Still struggling to understand why copying the entire root dir to a disk image and then restoring from that image did not, as expected, yield an identical system, and why I even had to reinstall after doing this.
    Because there is a lot more going on under the hood than merely copying files.
    The only way to do what you want is to use cloning software like Carbon Copy Cloner.
    My  advice is to rescue your personal files to a regular non-TimeMachine  external drive, Zero erase the ENTIRE drive and install OS X fresh and  update, then your programs from original sources and files from backup.
    Then, make a bootable clone and you can copy that as many times as you want and each one is bootable.
    Most commonly used backup methods
    How to erase and install Snow Leopard 10.6

Maybe you are looking for

  • Hard disc not showing up in time machine

    Since upgrading to Lion, one of my hard disks is not showing up in the options window. I do not want to exclude it, or this would not be a problem. Because it does not show up here it is not being backed up. How can I get it to appear here, and any s

  • How to fetch Excel sheet through File adapter in SAP PI?

    Dear all Can u help me  with this? Regards karan kanotra

  • How to disable interaction for Gauges?

    I thikn it used to be that if the cell you point to is a formula, then the gauge wont ahve any interaction ability... however in 2008, i found that even if the cell is a formula, the user can still change the value anyone knows how to turn that funct

  • Why is the download speed so different to the wireless router?

    Apologies if this is not the correct location - newbie, so be gentle with me please! My question relates to a wireless connection I have established with a Belkin 802.11g 54g wireless router. Airport configured incredibly easily BTW. Anyway, when I l

  • Placement target needs to be in the visual tree

    I'm trying to add a Flyout that's attached, via a style, to my screen's back button.  Seems like it should be simple and straightforward.  But so long the button's Flyout property is non-null and I click the Back button to return to the previous page