struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Galbreath, Mark" <>
Subject RE: How does the framework ensure any action to have self control ?
Date Fri, 31 May 2002 15:49:14 GMT
First, an action should never make a database call.  Second, the call to the
helper object making the db call should be wrapped in a try-catch and you
can execute a line of control (specific forward) if an IOException occurs.


-----Original Message-----
From: Struts Newsgroup []
Sent: Friday, May 31, 2002 11:40 AM

What I wanted to find out is whether the framework provides some way for an
action to remain in control of what's currently being processed.

For example, if an action is authenticating a user during a logon session by
opening a db connection and for some reason, the connection hangs, would the
framework be able to detect that?

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message