Return-Path: Delivered-To: apmail-jakarta-velocity-user-archive@www.apache.org Received: (qmail 38989 invoked from network); 5 Apr 2005 11:53:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Apr 2005 11:53:51 -0000 Received: (qmail 77473 invoked by uid 500); 5 Apr 2005 11:53:38 -0000 Delivered-To: apmail-jakarta-velocity-user-archive@jakarta.apache.org Received: (qmail 77440 invoked by uid 500); 5 Apr 2005 11:53:38 -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 77394 invoked by uid 99); 5 Apr 2005 11:53:37 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web52809.mail.yahoo.com (HELO web52809.mail.yahoo.com) (206.190.39.173) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 05 Apr 2005 04:53:34 -0700 Received: (qmail 70938 invoked by uid 60001); 5 Apr 2005 11:53:32 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=uZqIX8vVj2vdq0MjKVQODJ7a1PUwHmodR6xmw848mudRo2cPNPu1huTGYpSjPAK1fX4qEtcukhu8e/mtdJYaepz5UIZ3wppG0RVumOQslTtyygC4zh8IlmUR6W7u7NpbPvSW9GLH9yJD9jF8E7eZcEhG0nxK8xArgRQfpXHrcVs= ; Message-ID: <20050405115332.70936.qmail@web52809.mail.yahoo.com> Received: from [141.156.41.175] by web52809.mail.yahoo.com via HTTP; Tue, 05 Apr 2005 04:53:32 PDT Date: Tue, 5 Apr 2005 04:53:32 -0700 (PDT) From: Jim Seach Subject: RE: use velocity in tomcat (first time user) To: Velocity Users List In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Actually, the Velocity documentation says: "Note that Velocity uses a singleton model for it's central core Runtime class, so it is a very good idea to put the velocity-XX.jar into the WEB-INF/lib directory in all web applications that use Velocity to ensure that the web app classloader is managing your Runtime instance, rather than putting it in the CLASSPATH or the top level lib directory of the servlet runner." "This deployment method will ensure that different web applications will not be subject to Velocity configuration conflicts." The best way to get an idea how to proceed would be to download the Velocity Tools subproject, read about configuring the VelocityViewServlet at http://jakarta.apache.org/velocity/tools/view/, and try out the sample application, simple.war. If this is the first time you are developing a Webapp using servlets, I would also suggest reading up on the basics. The Tomcat documentation goes through it step-by-step at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/index.html For a more detailed explanation, see Jason Hunter's excellent book, "Java Servlet Programming" http://www.amazon.com/exec/obidos/ASIN/0596000405/jasonhunter --- Uday Kumar wrote: > Hi, > set the jar file (eg: c:\velocity1.4.1.jar) in classapth and restart > the > server > > Regards, > uday > > > > -----Original Message----- > From: news [mailto:news@sea.gmane.org]On Behalf Of Ben > Sent: Monday, April 04, 2005 4:18 PM > To: velocity-user@jakarta.apache.org > Subject: use velocity in tomcat (first time user) > > > I have d/l velocity-1.4.zip but it is only a zip file, I have unzip > it to > c:\web\velcoity > but then how can I connect it to tomcat? > > > > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: velocity-user-help@jakarta.apache.org