Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

File I/O  RSS feed

 
J Andre
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am fairly new to JSP. I need to know if there is a way to write a text file to the current server you are on, and to another server(that you have access to). Any links or examples would be great.

Thanks in advance.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No differently than any other Java program, so I'm moving this on to the I/O forum.

P.S. Are you sure you want to do this from a JSP? Doing such processing from a servlet is a much better way.
[ January 19, 2005: Message edited by: Bear Bibeault ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!