Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Error page in jsp


Message #1 by "sathy srinivasan" <sathy_srinivasan_78@h...> on Sat, 14 Apr 2001 06:00:35 -0000
chennai,
14-04-01

Hi,

    I am S.Srinivasan,software engineer working in Chennai(India).
I need clarification regarding the JSP-Errorpages.
In JSP errorpage,we have an implicit object exception.
When I execute the SQL queries,we may catch SQLexception.
In this case,I want to get the Vendor specific errorcodes(Oracle) like

"SQLExceptionobject.getErrorCode()"
which ease me to give the user friendly messages
for the end user.

I can meet the above objective(by using SQLException object directly in
running jsp page),if i don't use the error pages.
Currently,using implicit exception object,we can get only

1)getMessage()
2)printStackTrace()

Is there any facility available to use other sub-exception objects in
Jsp error pages?
If it is so,we can call the other exception specific functions.

2) I am unable to download the applet using <jsp:plugin/> tag.
Can u suggest a solution to both the case?

Email:sathy_srinivasan_78@h...

  Return to Index