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.

are there any sort of visual tools for creating the layout of
a velocity page? my designers are using dreamweaver to layout
jsp's and would want to continue along similar veins if we
switched over to a new template engine...

rjsjr

> -----Original Message-----
> From: Marcelo Vanzin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 03, 2002 11:49 AM
> To: Struts Users Mailing List
> Subject: Re: alternative jsp compiler?
> 
> 
> Robert J. Sanford, Jr. wrote:
> > the difference is that a new servlet is actually a "process" (for
> > lack of a better term) in the container where the bean would not
> > be - it would be invoked from the thread accessing the controller
> > servlet.
> 
>       BTW, if I understand you correctly, what you're proposing 
> can be done 
> easily with a templating engine like Velocity.
> 
>       In your action class within Struts, call 
> "Velocity.merge(bla bla bla)" 
> (or whatever the method is called), which'll send the data of the 
> template to te client, and then return null, so that Struts does not do 
> any further dispatches.
> 
> 
> 
> -- 
> []'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]>

Reply via email to