File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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?