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 1003561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T07:59:57+00:00 2026-05-16T07:59:57+00:00

I am building a Java Applet that is running local that needs to access

  • 0

I am building a Java Applet that is running local that needs to access a couple of images on my webserver. How can i load images from a given webserver in java?

  • 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-05-16T07:59:58+00:00Added an answer on May 16, 2026 at 7:59 am

    If you wish to access images on another server, you need to edit the java.policy of the JRE that your browser java plug-in is using. For example, on a windows machine with Java 6, this will normally be:

    %PROGRAM FILES%\Java\jre6\lib\security\java.policy

    For example, to give socket permissions for connecting to an image server, to applets originating from localhost, you’d add something like this to the java policy file:

    grant codeBase "http://localhost/-" {
          permission java.net.SocketPermission "imgserver.company.com", "connect, resolve";
    };
    

    Where imgserver.company.com is the server your applet needs to connect to in order to fetch the images.

    DISCLAIMER: Careful when editing the java policy for your browser, because potentially you could be giving more permissions to not just your own applet, but to other, malicious applets.

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

Sidebar

Related Questions

I am building a Java applet that involves downloading images among other resources from
I'm building a Java web app that needs access to a user's Google Calendar
I'm building a Java application that will allow our users to load a list
I'm building Java client that will automatically upload file from Java server to Panda
I'm building this small java applet in which I need a JPanel which will
I am building a small applet in java. It works fine (really!) when I
I'm building a java web media-scraping application for extracting content from a variety of
I'm building a Java application that has parts that require daily update. I want
I am building a Java SE application that is powered by Hibernate. Mainly many
I'm currently working on a project that is building a java-based desktop application to

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.