velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Curwen" <g_dev...@globallyboundless.com>
Subject RE: Odd Behavior
Date Wed, 06 Apr 2005 18:41:33 GMT
have you tried a call to writer.flush() , before System.out.println?


> -----Original Message-----
> From: Elton Hughes [mailto:ehughes@novaworks.org] 
> Sent: Wednesday, April 06, 2005 1:30 PM
> To: velocity-user@jakarta.apache.org
> Subject: Odd Behavior
> 
> 
> 

<snip />
 
> 		// create the output
> 		Writer writer = new StringWriter();
> 		template.merge(context2, writer);
> 
		writer.flush()  // ?
		
> 		// write out
> 		System.out.println(writer.toString());
> 		
> 	} // end of main method
> 	
> } // End of class
> ----------
> 
>


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message