|
RE: Install and Use: msg#00147jakarta.velocity.user
Gregg - > That did help explain some things. However, what about that > Hello Velocity > World! example they show in the user giude. Is there any way > to get that to > work without a Servlet? The user guide doesn't show what > needs to be done to get that example to work the way it is. Ha. I've been on the list for ages, and I don't think that one has come up. ;-) The User's Guide is for folks who are simply writing templates and to them how $foo becomes "Velocity" is just 'magic'. The Developer's Guide is for folks who are making the magic. :-) One of the [many many many] ways to make this magic happen would be to use the VelocityViewServlet from the VelocityTools sub-project. This would let you run Tomcat and place that Hello World snippet inside a "helloworld.vm" file which would be processed by the VelocityViewServlet using a VelocityEngine. http://www.happysearch.com/velocity/tools/docs/view/ If you check this out of CVS and build it, there is a "simple.war" that does this exact thing I've described and can be dropped into the tomcat/webapps dir and It Should Just Work(tm). -Timo |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Install and Use: 00147, Gregg Bolinger |
|---|---|
| Next by Date: | Re: Install and Use: 00147, Gregg Bolinger |
| Previous by Thread: | Re: Install and Usei: 00147, Gregg Bolinger |
| Next by Thread: | Re: Install and Use: 00147, Gregg Bolinger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |