Download jar only when it is used

Hello,
I have an applet that uses some jar files, is it possible download the jar file only when it is called by the applet?
Thanks,
Pati

If you add an index file in the first jar file on the
applet's class path, the Java Plug-in downloads jar
file only when necessary.
You can find more information at:
http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#JAR%20Index
Regards

Similar Messages

  • How to refresh JSFF page only when page loaded using ADF 11g

    Hi
    I am facing an issue with prepreModel() usage in the .jsff page fragment. I want to invoke executables only when the specific jsff page get's loaded. I tried using 'prepareModel' as a refresh condition, but I can see always executables are getting executed. Does 'prepareModel' behaves differently for .jsff when compared to .jspx ?
    Thanks in Advance

    Hi,
    ADF Regions have a slightly modified lifecycle. However, prepareModel behaves the same. Its marking a specific time in the ADF request lifecycle when the iterators are refreshed. Try prepareModelIfNeeded
    Frank

  • HT3209 I do not have a simcard in my IPAD and seem to be able to view purchased and downloaded movies only when connected to WIFI. Is there a solution to this?

    I do not have a simcard in my IPAD and seem unable to view movies that I purchased and downloaded from ITUNES when not connected to WIFI. Is there a solution to this?

    How are you trying to access them ? If they are fully downloaded then you should be able to watch them via the Videos app, you shouldn't need to be online.

  • Where shall i save the jar file when i'm using a parser(JDOM) in jwsdp

    I'm using jwsdp These errors are coming
    when i compile.where shall i save the jdom.jar file?
    do i have to change the server.xml file in jwsdp-1_0\conf directory ?
    import org.w3c.dom.*;
    ^
    MetaBuilder.java:4: cannot resolve symbol
    symbol : class DocumentImpl
    location: package dom
    import org.apache.xerces.dom.DocumentImpl;
    ^
    MetaBuilder.java:5: cannot resolve symbol
    symbol : class DOMImplementationImpl
    location: package dom
    import org.apache.xerces.dom.DOMImplementationI
    ^
    MetaBuilder.java:6: cannot resolve symbol
    symbol : class Document
    location: package dom
    import org.w3c.dom.Document;
    ^
    MetaBuilder.java:7: cannot resolve symbol
    symbol : class OutputFormat
    location: package serialize
    import org.apache.xml.serialize.OutputFormat;
    ^
    MetaBuilder.java:8: cannot resolve symbol
    symbol : class Serializer
    location: package serialize
    import org.apache.xml.serialize.Serializer;
    ^
    MetaBuilder.java:9: cannot resolve symbol

    Hello,
    the *.jar file thing is a common problem in Java. One simple solution to the problem is by saving the *.jar file in the C:\j2sdk1.4.0\jre\lib\ext\ folder. This directory is an extension to the regular java files and by doing this, java will look in this directory if you import some other files not included in the java package. This does not work if you are using JBuilder, couse JBuilder installs its own jsdk, which is uses, probably under the JBuilder folder.
    TheLaw

  • Can use ASM only when creating database using dbca

    I have a problem. When i create a database using DBCA, i can only use ASM as the file sytem. why ?
    i just installed the 10gR2 with cluster and donno why i cannot use ocfs.
    Thanks.

    What were your reasons with going with OCFS rather than ASM?
    Thanks.

  • Downloading JAR for temporary in-memory use or saved to local system?

    Hi all,
    I would like to be able to download and create a .jar file in memory, without writing it to disk, as an "option". My app should allow the user to reference an http://file.jar that gets "created" in memory on the client for temporary use, or they can optionally specify to download it and save it as a .jar file. I can't seem to find much info on either.
    For the first case, basically, each time the app runs it should get the .jar file from the location specified, but without actually creating it on disk. Is it possible to download the binary of a .jar file from a web server and create it in memory so that it can be used? Or does it have to be stored on the local file system? If so, then I suppose I could use a "temporary" on disk .jar file, then delete it.
    For the latter, how is a .jar file downloaded and saved to the local system?
    Thanks.

    I don't fully understand your question, but I think
    you want to use JarInputStream.
    -Ron

  • Cannot send email only when I am using my school wifi network

    Hi,
    I cannot send emails when I am in my school's wifi network. It is fine at home. But I am the only one at school experiencing this problem. I tried turning off and then on the iphone, deleting all my mail accounts and then reinstalling them, updating iphone to the newest firmware, restoring the iphone to factory settings, etc. but nothing worked so far.
    I have a yahoo mail and an exchange server email and they both send and receive normally in my home wifi network.
    The problem I get at school is that when I click send for an email, it keeps writing "sending" without actually sending it and then the only way to stop this loop (which could last hours) is to restart the phone and then deleting the email from the outbox. Before restarting the phone I cannot delete the email from the outbox.
    Any help would be appreciated.
    Thanks..

    Hi,
    I cannot send emails when I am in my school's wifi network. It is fine at home. But I am the only one at school experiencing this problem. I tried turning off and then on the iphone, deleting all my mail accounts and then reinstalling them, updating iphone to the newest firmware, restoring the iphone to factory settings, etc. but nothing worked so far.
    I have a yahoo mail and an exchange server email and they both send and receive normally in my home wifi network.
    The problem I get at school is that when I click send for an email, it keeps writing "sending" without actually sending it and then the only way to stop this loop (which could last hours) is to restart the phone and then deleting the email from the outbox. Before restarting the phone I cannot delete the email from the outbox.
    Any help would be appreciated.
    Thanks..

  • I'm all of a sudden getting a ( Java Script Application "download error" message) when trying to use Ant Video Downloader. What could cause this?

    When an FLV is playing and I want to download it. I click on the Ant download button. A little window appears reading ( Java Script Application "download error" message)

    This works for me on YouTube.
    Cancel the download and then immediately right click and choose retry.

  • 'Downloading' Premiere Pro when I already used trial

    Hi there - I used the trial for Premiere and have just paid my first monthly subscription to keep using it.  I have started to download but then I got worried that I lose all my work I've already done and have to reimport all my source files etc.  Can I just go into Premiere that is already on my computer and was working until my trial ran out last week or do I actually have to 're-download'??

    You completely misunderstand how this works. CC merely provides the licensing, it has nothing to do with the technical side. So yes, reinstalling would be redundant. Furthermore installing has nothing to do with your data and doesn't  touch your projects or footage.
    Mylenium

  • Rattling speakers - only when using chrome.

    I brought a new 2013 MacBook air today, and I'm having a weird issue with the sound. There's a slight rattling/static noise, but only when I'm using Chrome. It's fine in Safari, iTunes, and Quicktime.
    I could just not use Chrome, but I'd miss it terribly.

    A new Mac comes with 90 days of free tech support from AppleCare.
    AppleCare: 1-800-275-2273
    Call AppleCare. May be they can help you.
    Use Safari until the problem is solved.
    But you have to dowlload, install and enable Flash Player to view videos.
    Best.

  • Can we downlod jar from WEB-INF/lib using webstart?

    Hi,
    Can we down jars which are in WEB-INF/lib directory
    using jnlp (webstart)?

    I got the basic concept of webstart.
    I can download jar only if publicly accessible (It
    should form a valid URL).Note an important distincion here..
    1) It is possible to form valid URL's that
    point to WEB-INF/lib.
    2) The server should not allow access, to
    that URL (any URL pointing inside WEB-INF/lib)
    and should return instead the HTTP code that says
    'not allowed/barred/forbidden'
    There is a big difference between a[b] valid URL,
    and a valid URL pointing to a forbidden resource.
    But yes, you seem to understand correctly,
    that the jar's for web-start cannot be loaded
    back to the client, from this directory.
    Thanks for your help.You're welcome.

  • When remote database used in DB Link is down, JDBC hangs

    Hello!
    I have DB Link defined in my Oracle DB I work with from JSP application
    which uses
    Tomcat's connection pool. When remote DB is available, everything is
    fine. But when
    it goes down (I explicitly shut it down with "shutdown immediate"),
    JDBC call hangs:
    Statement Stmt1 = conn.createStatement();
    rs = Stmt1.executeQuery("SELECT something FROM mytable@mylink");
    Second line causes hang forever (or long enough for me to wait, more
    that 30 minutes).
    If I add this:
    Stmt1.setQueryTimeout(5);
    then it hangs for about 1min45sec, then throws exception "end of line
    in communication
    channel". Unfortunately, 1min45sec is too much to wait for the end
    user. Also, it resets
    my connection to my DB (not remote one), so it is no longer usable,
    which costs me
    something to recover.
    It looks like the error occurs only when connection I use had
    successful "history" of
    being able to connect via DB Link. If I get connection not from
    Tomcat's connection
    pool, but force a new connection, everything works fine (something to
    do with session
    using DB Link).
    Has anyone had similar problem? Is a workaround different from creating
    a new
    connection available?
    Thanks!

    Well, it appeared that this is nothing to do with Tomcat. The following sequence
    of calls causes the same symptoms:
    Statement stmt2 = cn.createStatement();
    ResultSet rs2 = stmt2.executeQuery("select 'x' from dual@mylink");
    rs2.next();
    System.out.println(rs2.getString(1));
    rs2.close();
    stmt2.close();
    // !!! do shutdown immediate to DB referenced by mylink, now
    stmt2 = cn.createStatement();
    rs2 = stmt2.executeQuery("select 'x' from dual@mylink"); // !!! hangs forever
    rs2.next();
    System.out.println(rs2.getString(1));
    rs2.close();
    stmt2.close();
    If I would create a new connection for the second set of statements (before
    second stmt2 = ...), it will not hang, and I will get correct error:
    java.sql.SQLException: ORA-02068: following severe error from MYLINK
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Looks like something to do with Oracle JDBC driver?

  • Make few columns of Excel file read only when downloaded

    Hi Experts,
    Is there any way we can set few of the columns in excel sheet as read only when downloaded from SAP.
    We have requirement where a program will generate a report and download it into an excel file on desktop.  When the file is downloaded, two of its columns should be non editable.
    I know complete sheet of excel can be protected using OLE, can we protect few columns also using OLE?
    any idea how can it be done?

    Hi Swapnil,
    check this
    Re: OLE EXCEL : how to block cells ?
    hope it is useful to you.
    Thanks

  • Download connections doesn't close after I cancel the download, it keep like I am download and only close when I disable the network adapter or reset the router or the firewall

    download connections doesn't close after I cancel the download, it keep like I am downloading and only close when I disable the network adapter or reset the router or the firewall.
    I use pfsense as my firewall and see the traffic not reseting to zero when I cancel download.
    Also, IE doesn't have this problem. When I cancel the download the traffic drops to zero.

    And this problem seems to be systemwide. Since I created a new user and under which problem still exists.
    Hope apple will look into it

  • When trying to use viber a) viber icons in the contacts do not appear b) when trying to call other viber users receive notification that users have to download viber first c) when other viber users try to contact they are notified the my vers. needs updat

    When trying to use viber a) viber icons in the contacts do not appear b) when trying to call other viber users receive notification that users have to download viber first c) when other viber users try to contact they are notified the my vers. needs updat

    A brief and probably non-helpful answer: I know of no way to eliminate your large amount of duplicates other than by repetitive, tedious manual effort.
    *There has got to be a simpler way.*
    I hope you're right, but I don't think there is a simpler way.
    BACKUP:  It also appears that the only way I can back up the catalog is to shut down LR.  Really?!
    Yes, really

Maybe you are looking for

  • Steps to follow while creating Database table in notes or paperwork

    what are the steps to follow while creating Database table in notes or paperwork Thank you, Regards, Jagrut Bharatkumar Shukla

  • Resolution of 600 DPI and Illustrator

    Someone would like a small 1 inch by 1 inch logo for invoices at 600 DPI. However I understand that illustrator doesnt work in DPI or PPI since it's vector. Would I have to transfer the small image over to photoshop. I did try and save a 1 inch by 1

  • Display FrameSet inside JEditorPane

    Hello all, I have the problem with JEditorPane, when I preview a html page with frameset. The html page contains two part 1,) Navigation links on top 2.)Body page, where anchors are used, so that when each navigation link is clicked the appropriate a

  • CS3 Modify automatically external links

    I have a catalogue produced in Indesign CS3. All the text is via linked external files. Now I want to create a second language version. The path to the English files is something like : MyHardDisk/TextFiles/English/Page01 And the pathname to the Germ

  • Subtotal for line item in REUSE_ALV_HIERSEQ_LIST_DISPLAY

    Hi Abapers, Is it possible to have subtotal functionality for line item for REUSE_ALV_HIERSEQ_LIST_DISPLAY. when i select particular line item and press subtotal button system displaying information mesage "Subtotals cannot be calculated using item c