velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Majji, Sashibhushan" <>
Subject Writing to File
Date Tue, 05 Apr 2005 22:50:09 GMT
Hi All, 

 I am  writing some data to file using Templet.. 

                fileName = "C:/cs_db.xml"; 
                BufferedWriter writer = new BufferedWriter( 
                        new FileWriter(fileName)); 

                if ( template != null) 
                        template.merge(context, writer); 

                is it possible to specify the encoding format (like ebcidic
or utf-8 etc..) Also I need to write data in different encoding formats..


                Please help me 


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message