Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create and write text files in server?  RSS feed

 
Bhuvana Raj
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's simple...
Check the JDK API document about java.io.FileOutputStream or FileWriter ...
 
Bhuvana Raj
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for your reply.

Regards,
Bhuvana
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!