English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

im trying to write a java application that will write text to a file located on a server.. i knw applets cannot write to files unless they r signed.. so im tryna do it thru an application. i knw they different, but i sorta wanna try write somethin to the file on the server.. i have a function called post().
public void post()
{
//must i use url ?
//wat bout printwriter?
}
im familiar with writing files locally, but not to servers.. file name is located at /tmp/comments/txt on server.
and text to rite to file is called String text.
any help?

2007-04-18 02:28:00 · 3 answers · asked by har4winn 1 in Computers & Internet Programming & Design

3 answers

You would probably get a better response to go to a forum located on a tech site such as TechIMO.com or ExpertsExchange.com.

2007-04-18 02:36:00 · answer #1 · answered by Marvinator 7 · 0 0

Have you thought about saving the file locally, modifying it and then uploading it to the server?

2007-04-18 09:36:56 · answer #2 · answered by Jeff Tangowski 2 · 0 0

Use servlet rather

2007-04-18 09:41:14 · answer #3 · answered by Anonymous · 0 0

fedest.com, questions and answers