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