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

Publicado el: 21 diciembre 2018
en el 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:


En esta página del sitio puede ver el video en línea 129 What is Error Servlet | Adv java servlet programming tutorial | advance java servlet de Duración hora minuto segunda en buena calidad , que subió el usuario tech fort 21 diciembre 2018, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 210 veces y le gustó 32 a los espectadores. Disfruta viendo!