Web Start and readonly data from the server or the cache

Discussion in 'Java' started by jeff h. silverman, Jul 27, 2003.

  1. Hi. I am writing my first javaws application. This application must
    upload about a megabyte of readonly data. In the application, I have this
    nailed, but in javaws, it is looking for the file on the local machine.
    It ought to be looking in the upload.

    This file is not really a property file, since it is comma separated
    variables. But I really want to include it in the upload, so that the
    application will work even if the network is down.


    How do I do this? And how do I do it such that if I want to run the
    program as a regular java application, it will switch back to the current
    technique?


    Many thanks,


    Jeff


    Jeff Silverman,
    Senior Computing Specialist 3, Fire and Environmental Research Applications (FERA) team.
    jeffsilv at u dot washington anotherdot edu (206) 732-7815
    http://duet.cfr.washington.edu/~jeffs
    jeff h. silverman, Jul 27, 2003
    #1
    1. Advertising

  2. jeff h. silverman

    Roedy Green Guest

    On Sun, 27 Jul 2003 03:58:10 -0700, "jeff h. silverman"
    <> wrote or quoted :

    >In the application, I have this
    >nailed, but in javaws, it is looking for the file on the local machine.
    >It ought to be looking in the upload.


    You can unpack the jar in your installer class, or you get at the
    member as a resource or with a URL. See
    http://mindprod.com/jgloss/image.html for some examples.

    --
    Canadian Mind Products, Roedy Green.
    Coaching, problem solving, economical contract programming.
    See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
    Roedy Green, Jul 28, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?b25l?=
    Replies:
    1
    Views:
    5,283
    Karl Seguin [MVP]
    Mar 8, 2006
  2. John
    Replies:
    2
    Views:
    1,179
  3. DK
    Replies:
    0
    Views:
    747
  4. Vaibhav Joshi
    Replies:
    0
    Views:
    883
    Vaibhav Joshi
    Aug 2, 2011
  5. Jonathan Hyatt
    Replies:
    1
    Views:
    1,912
    Jonathan Hyatt
    Jun 8, 2004
Loading...

Share This Page