I'm learning and building as I go and have run into a situation that I'm
not sure if I'm handling right.

I've started using chained exceptions per the suggestion in Struts in
Action.  I'm also trying to localize the messages.  What I'm not sure of is
the best way to get the locale down to the lower layers where the chained
exception originates.

I haven't passed the session or request objects down in order to keep the
business layer from knowing what's going on in the V & C layers.  Instead,
I've passed a User object down that has the locale.  What I don't like tho'
is that I've got all these method calls with the User being passed in.  Is
there a better way?  Is it overkill to keep the session object out of the
business layer when I know this will only be a web app?

TIA



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

Reply via email to