You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by brian papa <br...@gmail.com> on 2006/03/03 00:33:24 UTC
best practice suggestion when using tiles
I'm using tiles in an application and so far have liked the modularity
and reusablity. I have a thin web layer with the business logic all
called from classes that extend the Tiles Controller, so that each
class is attached to a single tile.
I ran into a problem recently though where I wanted to change a
response header after conducting some business logic - problem though
was that this was in a controller, and the response had already been
submitted.
So now I'm second-guessing all of the business logic being called from
Controller classes. I use Struts Actions in my application as well,
but only thus far for things like form submission. Is this a poor
practice? Or should I move all of the business logic calls out from my
Controller classes and into Struts Actions?
Thanks for your input.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org