jQuery in Action, 2nd edition*
The moose likes Servlets and the fly likes How to create and write text  files in server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to create and write text  files in server?" Watch "How to create and write text  files in server?" New topic
Author

How to create and write text files in server?

Bhuvana Raj
Ranch Hand

Joined: Sep 07, 2006
Posts: 74
Hello to Everybody,

I need to create text file and write some contents on server.I am using jdk 1.5 and Tomcat 5.1. Please help me with a sample snippet code.


Regards,
Bhuvana
Lucas Lee
Ranch Hand

Joined: Oct 02, 2006
Posts: 53
It's simple...
Check the JDK API document about java.io.FileOutputStream or FileWriter ...
Bhuvana Raj
Ranch Hand

Joined: Sep 07, 2006
Posts: 74
Hi,

Thanks for your reply.

Regards,
Bhuvana
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create and write text files in server?
 
Similar Threads
Working with text file using jsp
One Mapping for two tables
help me the code
Create .txt file
Writing to a file