Problem writing to a file using a URLConnection...
807605Jul 17 2007 — edited Jul 18 2007Hi all...
I've been reading throught the sun's toturial on networking that you can find here:
http://java.sun.com/docs/books/tutorial/networking/urls/readingWriting.html
this toturial provides a java program that uses a servelet to write some text. First, I don't know what a servelet is. Second, I can't understand to what is this program writing. That is, where does it store it's output.
what I am trying to do is to allow my applet to write some data to a txt file that resides in the same directory as the applet. So, how can i do that, or in other words, what is the simplest way to do that? Do I need to write a servelet or just open a connection to the txt file and start writing ?
regards,