-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nathan,

Nathan Bubna wrote:
> The VelocityView class can
> be easily used in a filter as it is, and once we have the toolboxes in
> the request/session/application attributes, then we can access them
> from any servlet or filter.  So, we would just need to create a
> VelocityViewFilter that initializes the VelocityView when it is
> init'ed, and then calls velocityView.prepareToolboxes(request) for
> every request it handles.

I think a better architecture would be to create a helper class that is
called by either VelocityViewServlet or VelocityToolboxFilter (a better
name IMHO), instead of actually initializing a VelocityViewServlet
inside the filter just for the purposes of accessing a
"prepareToolboxes" method.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGBA8N9CaO5/Lv0PARAmNeAKCfiZ9jMenTeRt0YlV8G2VPF6BGPgCfQeyN
uewxL04gwK9RLmQIhVpB4m4=
=VRUm
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to