Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8189507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T03:18:02+00:00 2026-06-07T03:18:02+00:00

I am working on a java program but i need to be able to

  • 0

I am working on a java program but i need to be able to have all users be able to access it without a properties file that i have. I want a way to host the properties file on a website so the java program clients can access it/ read it/ write to it. Is this possible? If so please explain

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T03:18:04+00:00Added an answer on June 7, 2026 at 3:18 am

    If I understand you correctly:

    1. You’ve got a Java application

    2. You’re going to distribute the application to users, and users will execute it locally

      … but …

    3. You simply want your users to be able to access a global properties file from the web.

    Is that correct?

    If so, simply:

    1) read the file with the Java URLConnection/stream class

     * http://docs.oracle.com/javase/tutorial/networking/urls/readingWriting.html
    

    2) use “properties.load()” as you would any other properties file – just use the URLconnection stream instead of a FileStream

    ‘Hope that helps

    PS:

    I would definitely have a local properties file – or set reasonable default values – as a backup, in case the user’s Internet connection is temporarily down.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a java program that connects to a MySql database and it's working
I am working on a Java program, and I really need to be able
I'm working on a Java program that should repeatedly kill two processes as soon
I am working on a java program that is essentially a chat room. This
Background I have a Spring batch program that reads a file (example file I
I'm working with a Java program that has multiple components (with Eclipse & Ant
I have a Java program which can send messages and it is working when
I have a working exec in php that executes a Jar file and returns
I'm working on java program that can compute the differentiation of any given mathematical
I'm writing a program in Java and one of the things that I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.