Can someone tell me why the following code does not work.

 try
{
        CallPage(adminFunction + object + ".jsp");
}
catch( Exception e )
{
        CallPage("adminNotSupported.jsp");
}

The (adminFunction + object + ".jsp") page may not always be present however
adminNotSupported.jsp is.

Whenever the first CallPage is performed and the .jsp file does not exist I
get a blank page and nothing else.

Thanks for any help.

--------------------------------------------
Ben Hale
iXL-DC, Inc.
email: [EMAIL PROTECTED]
web: www.ixl.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to