For runtime errors such as this, you'll need to use the JSP errorpage
directive.

In the error page .jsp you specify you can have your application recover
"gracefully" (hopefully, anyway!).

Don't believe there is any struts-specific errorpage support.





"Robert Taylor" <[EMAIL PROTECTED]> on 05/31/2002 11:53:16 AM

Please respond to "Struts Users Mailing List"
      <[EMAIL PROTECTED]>

To:   "Struts Users Mailing List" <[EMAIL PROTECTED]>
cc:    (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:  RE: How does the framework ensure any action to have self control
      ?


The Struts framework is not responsible for 'detecting' problems in the
business tier. It however can be notified of any problems and take the
corresponding action. For example, if your business object executes a query
to logon a user and the connection hangs, the business object should throw
an exception and propogate it to the presentation tier (Struts) where it
can
be handled (redirect/forward the user to the appropriate error page).

robert

> -----Original Message-----
> From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]]
> Sent: Friday, May 31, 2002 11:40 AM
> To: [EMAIL PROTECTED]
> Subject: How does the framework ensure any action to have self control ?
>
>
> Subject: How does the framework ensure any action to have self
> control 1 2 3 4 5 6 7 8 9
> From: "Sanjib Islam" <[EMAIL PROTECTED]>
>  ===
> 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?
>
> Thanks.
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>


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







---------------------------------------------------------------------------
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---------------------------------------------------------------------------


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

Reply via email to