In the code that follows, DiagnoseTrouble <servlet-mapping> <servlet-name>Diagno
ID: 3891529 • Letter: I
Question
In the code that follows, DiagnoseTrouble
<servlet-mapping>
<servlet-name>DiagnoseTrouble</servlet-name>
<url-pattern>/diagnostics/diagnoseTrouble</url-pattern>
</servlet-mapping>
is the name of the servlet class
is the internal name for the class that’s used in the deployment descriptor
is the name that’s used to request the servlet
a.is the name of the servlet class
b.is the internal name for the class that’s used in the deployment descriptor
c.is the name that’s used to request the servlet
Explanation / Answer
DiagnoseTrouble
<servlet-mapping>
<servlet-name>DiagnoseTrouble</servlet-name>
<url-pattern>/diagnostics/diagnoseTrouble</url-pattern>
</servlet-mapping>
REASON:
internal name for the servlet class : diagnoseTrouble
It is not valid becuse internal name for the servlet class that's used in the deployment descriptor.
Option b