Computer Science, asked by Tippett003, 1 year ago

Betty removed a web page from her website. Some users were browsing on her website. One of them clicked on a particular link and an “Error” page appeared. Which element should Betty use to prevent users from seeing an “Error” page?

Answers

Answered by sailorking
0

When Betty removes a page from her website she have also to delete the associated link to that web page. This deletion of web page generates an error when any user tries to get access of that web page through link. If the web page to be deleted has information which can also be gained from other web page then the link of the deleted web page should be redirected to that page. If permanent deletion is ultimately needed then Betty should provide a proper in HTTP that the content has been deleted.  

Answered by Sidyandex
1

Betty removed a web page from her website. Some users were browsing on her website.

One of them clicked on a particular link and an “Error” page appeared.

In such a case, Betty should use the customErrors element to Web.config file.

Therefore, by doing so the handling error codes and exceptions by the web.xml, betty can configure error-page elements to act for error code.

Similar questions