?
Solved

Applet to local file.

Posted on 1997-07-08
1
Medium Priority
?
190 Views
Last Modified: 2010-04-16
I'm running on earthlink.net, using Netscape.  Earthlink.net just gave me a read/write file located in my webdocs, called "Data".  How do I append data to this file, from an applet, and how do I later recall it?
0
Comment
Question by:noviceprogrammer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
mann061997 earned 180 total points
ID: 1222786
In Java 1.0 you have to use a RandomAccessFile. In Java 1.1 you can pass
true as the second argument to the FileOutputStream constructor:

public FileOutputStream(String name,  boolean append) throws IOException.

FileInputStream lets you read back the data.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses
Course of the Month12 days, 4 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question