• Post Reply Bookmark Topic Watch Topic
  • New Topic

Append System.out.println values to a file which is in webcontent folder  RSS feed

 
surendra gogineni
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How to append the system.out.println("Some text here") to a particular file which is in the path of Webcontent.

Can any body please give some suggestions so that i will work in that way.
Thanks in advacne.




 
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
System.out emits its output to the console or a log file. If you want to append info to anyplace else, System.out is not the way.

(And, no Java code should be placed in JSPs in the first place.)
 
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!