permaculture playing cards*
The moose likes Servlets and the fly likes How to write into a file with a servlet (write a remote file) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to write into a file with a servlet (write a remote file)" Watch "How to write into a file with a servlet (write a remote file)" New topic
Author

How to write into a file with a servlet (write a remote file)

Mauro Gaddo
Greenhorn

Joined: Aug 14, 2001
Posts: 1
I have a problem. I have a servlet that count the access of client. I want to save this value on a file but i don't know how to create a file in a remote path.
Example:
my servlet is in c:\programmi\Apache JServ\servlets\
I want to save the file here using path like "localhost\servlets"
Help me!!
SORRY FOR MY ENGLISH.......

------------------
M@uro!!


M@uro!!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to write into a file with a servlet (write a remote file)