Re: Web page in java
- From: Roedy Green <my_email_is_posted_on_my_website@xxxxxxxxxxxxxx>
- Date: Fri, 23 Dec 2005 12:38:45 GMT
On Fri, 23 Dec 2005 10:32:13 GMT, "JS" <james.sarjeant90@xxxxxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :
>Can anyone give me some pointers as to how to open a webpage in java. The
>webpage is stored locally (eventually on a cd) and its the help file for the
>java program. I cant seem to get the webpage to open and was wondering if
>its possible at all.
It is just a file. If you now its file name read it as a string chars.
See http://mindprod.com/applets/fileio.html for sample code.
if it is being served by a local webserver or application server, the
document will have a URL perhaps something like
http://localhost:81/xxxx/yyyy.html
Try it out with a browser to make sure you have the correct URL
then read it with a CGI-GET.
again see
http://mindprod.com/applets/fileio.html for sample code.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.
- References:
- Web page in java
- From: JS
- Web page in java
- Prev by Date: struts or expresso or turbine?
- Next by Date: Re: JRE from zip file
- Previous by thread: Re: Web page in java
- Next by thread: Re: Web page in java
- Index(es):
Relevant Pages
|