struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Galbreath, Mark" <Galbre...@tessco.com>
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.

Mark

-----Original Message-----
From: Struts Newsgroup [mailto:struts@basebeans.com]
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:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message