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 19:14:15 GMT
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:ehughes@novaworks.org] 
> 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: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
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