sendRedirect and 404 Page not found
I was wondering if there is a way to first determine if the page exists in a response.sendRedirect(strURL);
first. If the page does not exist then display another page stating why the page does not exist.
Example. Page not found, please try again when processing has completed. I tried using this but it does not work:
try {
response.sendRedirect(strURL);
}
catch(IOException ex) {
response.sendRedirect(strURL2);
}
In this situtaion I am first trying to redirect to a page that may not be ready there yet on the C:\drive.
Thanks

