Catching an exception thrown by invalid IP address
Catching an exception thrown by invalid IP address
- Subject: Catching an exception thrown by invalid IP address
- From: "Tanmoy Roy" <email@hidden>
- Date: Fri, 11 Jun 2004 17:22:49 +0530
- Thread-topic: Dynamically Selecting Instances - Best Way?
Hi all,
I am facing pecuiliar problem. I have web page which is having a submit button which inserts data from user into database. On successful submission the user will be directed to a new "Thank You" page. Upto this point everything is working fine. But what I want is that in case the "Thank You" page is not available then I want to show a message that will say "Subscription Submittted Successfully" which I have placed in a WOConditional. But I am unable to catch the exception when the designated URL page does not exist. All it shows up is a blank page with the usual error messages for not finding the URL. What I am doing is the I have blank.wo containing a blank.html In this html's metatag I have specified that after 1 second the page will redirect to the "Thank You" page . I am calling this blank HTML on submission by the pageWithName() function . I am a newbie in WO . Any suggestion will be saver.
Please help.
Thanks and Regards
Tanmoy Roy
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.