129 What is Error Servlet | Adv java servlet programming tutorial | advance java servlet

Publicado em: 21 Dezembro 2018
no canal de: tech fort
210
32

#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:


Nesta página do site você pode assistir ao vídeo on-line 129 What is Error Servlet | Adv java servlet programming tutorial | advance java servlet duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário tech fort 21 Dezembro 2018, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 210 vezes e gostou 32 espectadores. Boa visualização!