Examveda

Which annotation is used to specify a custom error page in a Java web application?

A. `@WebListener`

B. `@WebFilter`

C. `@WebServlet`

D. `@ErrorPage`

Answer: Option D


Join The Discussion

Related Questions on Application Lifecycle and Annotation