PrepAway - Latest Free Exam Questions & Answers

How can a URL be mapped to a servlet?

An important part of servlet development is the mapping of a URL to the correct servlet. RAD8
provides a mechanism to do this. How can a URL be mapped to a servlet?

PrepAway - Latest Free Exam Questions & Answers

A.
under Project properties, use the Web Content tab to specify a URL pattern and then in the
properties for that pattern specify the servlet.

B.
from the Web Site Navigation view, add a new web page and map all the contained links to the
target servlet

C.
under Project properties, use the Deployment Assembly page to specify the URL pattern and
target servlet

D.
from the deployment descriptor, edit select the New Servlet Mapping option and enter the URL
pattern and target servlet


Leave a Reply