Return-Path: Delivered-To: apmail-jakarta-velocity-user-archive@www.apache.org Received: (qmail 86045 invoked from network); 6 Apr 2005 19:14:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Apr 2005 19:14:20 -0000 Received: (qmail 54127 invoked by uid 500); 6 Apr 2005 19:14:05 -0000 Delivered-To: apmail-jakarta-velocity-user-archive@jakarta.apache.org Received: (qmail 54079 invoked by uid 500); 6 Apr 2005 19:14:05 -0000 Mailing-List: contact velocity-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Velocity Users List" Reply-To: "Velocity Users List" Delivered-To: mailing list velocity-user@jakarta.apache.org Received: (qmail 54026 invoked by uid 99); 6 Apr 2005 19:14:04 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=FORGED_RCVD_HELO,FROM_HAS_ULINE_NUMS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from h139-142-220-22.gtcust.grouptelecom.net (HELO brad.globallyboundless.com) (139.142.220.22) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 06 Apr 2005 12:14:03 -0700 Received: from BALTHAZAR ([10.0.0.123]) by mail.gb-im.com (8.10.2/8.10.2) with ESMTP id j36JE0X12867 for ; Wed, 6 Apr 2005 14:14:01 -0500 From: "Mike Curwen" To: "'Velocity Users List'" Subject: RE: Odd Behavior Date: Wed, 6 Apr 2005 14:14:15 -0500 Message-ID: <01be01c53adc$d618c1d0$7b00000a@BALTHAZAR> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 In-reply-to: <653996e627c5d118ba1d2fe0d2b51b36@novaworks.org> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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