I've just copy and pasted your original code (with one modification to get the resource loader path where I wanted it), and it "works for me". The one mod: Velocity.setProperty(Velocity.FILE_RESOURCE_LOADER_PATH, "c:\\tmpl\\"); immediately before the call to Velocity.init();
I get both firstName and lastName output, nothing clipped. JDK1.4.2_04 Velocity 1.3.1 > -----Original Message----- > From: Elton Hughes [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 06, 2005 1:45 PM > To: Velocity Users List > Subject: Re: Odd Behavior > > > Hi Mike, > > I just tried it, but it had no effect on the output. > > Thanks for you effort. > > Elton > > On Apr 6, 2005, at 11:41 AM, Mike Curwen wrote: > > > have you tried a call to writer.flush() , before System.out.println? > > writer.flush() // ? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]