I am working on java applet and all .class files, images and text files will be loaded from the
applet archive attribute jar file named your_login.jar. My
program will first load a configuration file named library.properties
from my classpath /config/library.properties. From there my
program will load the employees.txt and books.txt file also in the
config subdirectory - see below jar file content. I am not supposed
employee/book values but instead read them in at runtime using the
following files: employees.txt and books.txt that I should include
in my jar file config directory. I know that I could
to get a URL to the file located at config/library.properties
in my jar file. I think I need to use getResourceAsStream to get an InputStream
to that resource.
your_login.jar (library jar file loaded by applet) contains the following:
jar xvf your_login.jar will create relative to the current directory:
My question is how my library.properties file should be?