#interview #Question: What is #Error- #Servlet? #Advance #java #servlet #programming #tutorial #Answer :
The servlet program that executes only when exception is raised in other main servlet programs is called "Error-Servlet".
The Error-Servlet is useful to display non-technical guiding messages for end-users when exception is raised in the java web application.
Its always recommended to develop java web application by keeping non-technical end-users in mind. For this dont display technical error messages OR blank screen/contents on browser window when exceptions are raised. Instead of that display error-page having guideline messages to end-user when exception's are raised other main servlet programs.
Always place requestDispatcher.forward(request, response) method in source servlet program as a conditional statment to execute, due to this HTML output of source program will be discarded only when condition is satisfied otherwise output/partial output goes to browser window.
#Example Java web applicaiton - How to configure Error-Servlet when exception is raised in other Servlet programs:
Auf dieser Seite können Sie das Online-Video 129 What is Error Servlet | Adv java servlet programming tutorial | advance java servlet mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer tech fort 21 Dezember 2018 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 210 Mal angesehen und es wurde von 32 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!