thanks! and you're right about drinking cheap beer as well.
rjsjr > -----Original Message----- > From: Marcelo Vanzin [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 03, 2002 2:12 PM > To: Struts Users Mailing List > Subject: Re: alternative jsp compiler? > > > Robert J. Sanford, Jr. wrote: > > so velocity is using the same idea of a controller servlet with > > a "bean" of some sort to actually render a page instead of > > generating a new servlet for each displayed page? cool. > > Kind of. :-) You're actually just calling a method that'll read a > template with Velocity's tags, and passing a "Context" object (this is a > Velocity object that kinda looks like a Hashtable) from where it'll take > the beans to make the substitutions in the template. > > But, you do not have a new servlet created for it, you're > just executing > a method in a class. > > > are there any sort of visual tools for creating the layout of > > a velocity page? > > A Velocity template looks pretty much like plain HTML with > some added > syntax for the commmands and variable names. I don't think there's an > environment ready for it, but, as it looks just like plain HTML (with > just some added noise from the commands), Dreamweaver has a chance of > showing them nicely. > > Take a look at its page: http://jakarta.apache.org/velocity > > -- > []'s > Marcelo Vanzin > Touch Tecnologia > [EMAIL PROTECTED] > "Life is too short to drink cheap beer" > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>