Examveda

Which annotation is used to specify a custom error page for a specific exception type in a Java web application?

A. `@WebListener`

B. `@WebServlet`

C. `@WebFilter`

D. `@ErrorPage`

Answer: Option D


Join The Discussion

Related Questions on Application Lifecycle and Annotation