🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #20047

Re: Basic Java Question

#20047
From: Brian Burton
Date: Thu, 06 Nov 1997 00:00
41 lines
1919 bytes
This is certainly possible in Java.  To get started check out the documentation
for the java.net and java.io packages.

The only security restriction you are likely to encounter is that unsigned
applets can only communicate with the host they were downloaded from.  Java
applications have no security restrictions.  And signed applets can be given
permission to access other hosts.

All the best,
++Brian

Marty Ford wrote:
> 
> Hi everyone,
> 
> I don't have much experience with Java. We are looking at the
> possiblility porting a Windows app/plugin to Java.
> 
> We need to do the following:
> 
> * Obtain an HTML page from somewhere on the internet. This might be a
> "GET" or it could be the result of a "POST". Note this page resides on
> some random server, which we do not own.
> 
> * Read the HTML page we obtain into memory and then parse it.
> 
> I had looked at Java very briefly once before, and I came away with the
> impression that this was not possible because of security restrictions
> built into the language. However, I didn't spend much time investigating
> it...maybe I got it wrong?
> 
> Can anyone tell me if this is possible with Java?  If so what are the
> basic functions you would use to do this?
> 
> Thanks!

-- 
Brian Burton                        Custom Software Development
Burton Computer Corporation         Java, C++, Orbix, Tuxedo
http://www.burton-computer.com      OO Consulting and Mentoring
Technical Details
Message-ID: <346206FE.93011750@burton-computer.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3460E3D1.7B09@solutionsoft.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,5b208e22c85dac61
X-Google-Attributes: gidf74b3,public
From: Brian Burton <brian.burton@burton-computer.com>
Subject: Re: Basic Java Question
Date: 1997/11/06
Message-ID: <346206FE.93011750@burton-computer.com>
X-Deja-AN: 287466118
References: <3460E3D1.7B09@solutionsoft.com>
Organization: Burton Computer Corporation
Newsgroups: borland.public.jbuilder.java.language