you need to do to reuse this tag library?

After a merger with another small business, your company has inherited a legacy WAR file but the
original source files were lost. After reading the documentation of that web application, you
discover that the WAR file contains a useful tag library that you want to reuse in your own webapp
packaged as a WAR file.

What do you need to do to reuse this tag library?

After a merger with another small business, your company has inherited a legacy WAR file but the
original source files were lost. After reading the documentation of that web application, you
discover that the WAR file contains a useful tag library that you want to reuse in your own webapp
packaged as a WAR file.

What do you need to do to reuse this tag library?

A.
Simply rename the legacy WAR file as a JAR file and place it in your webapp’s library directory.

B.
Unpack the legacy WAR file, move the TLD file to the META-INF directory, repackage the
whole thing as a JAR file, and place that JAR file in your webapp’s library directory.

C.
Unpack the legacy WAR file, move the TLD file to the META-INF directory, move the class files
to the top-level directory, repackage the whole thing as a JAR file, and place that JAR file in your
webapp’s library directory.

D.
Unpack the legacy WAR file, move the TLD file to the META-INF directory, move the class files
to the top-level directory, repackage the WAR, and place that WAR file in your webapp’s WEB-INF
directory.

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *