Oracle errors using struts
From: milkyway (d0mufasa_at_hotmail.com)
Date: 01/21/05
- Next message: Tobias Besch: "Problem Connecting to Oracle from JRE 1.5.0_01"
- Previous message: Alex Molochnikov: "Re: remote server name problem"
- Next in thread: anonymous: "Re: Oracle errors using struts"
- Reply: anonymous: "Re: Oracle errors using struts"
- Reply: Bob Kranson: "Re: Oracle errors using struts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 20 Jan 2005 23:19:26 -0800
Hello,
I have a small program whereby some data is being fetched from the
database (Oracle). As part of the program, I have "try .... catch"
statements just in case something strange happens. The statement is
something like (BTW, it is just pseudocode, not actual code):
TRY.
execute_query( l_query ).
CATCH cx_sql_exception.
ENDTRY.
As of now, if an error happens (using tomcat webserver) the whole
server shuts down. What can I do to this statement to forward it to an
error page or some other type of page? How is error handling with an
Oracle database (or data bases in general) done?
- Next message: Tobias Besch: "Problem Connecting to Oracle from JRE 1.5.0_01"
- Previous message: Alex Molochnikov: "Re: remote server name problem"
- Next in thread: anonymous: "Re: Oracle errors using struts"
- Reply: anonymous: "Re: Oracle errors using struts"
- Reply: Bob Kranson: "Re: Oracle errors using struts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|