If you use JSPs to deliver Web content, you can embed Corda® images using the Java* Corda Embedder or the Corda Embedder Java Tag Library.
For more information, see Java Server Pages and Java Tag Library in the Corda 7 Developer Reference.
Installation instructions are provided for the following:
On newer Java Application Servers, such as Apache Tomcat 4.1, you do not need to do anything other than install the CordaEmbedder.jar file, which is explained in Java Application Servers.
If this does not work, follow the instructions for older application servers below.
If the Java Tag Library version of the Corda Embedder library does not work automatically after you install the Java Corda Embedder, follow the instructions below:
To install the Corda Embedder tag library
Install the CordaEmbedder.jar file as explained in Java Application Servers.
Copy the dev_tools/embedder/java/Corda.tld file to the WEB-INF/lib folder of the Web application in which you want to use the Tag Library.
Create this directory if it does not exist.
Edit the web.xml file for the Web application (in the WEB-INF folder) so that it includes a mapping for the Corda Embedder tag library.
Create this web.xml file if it does not already exist. An example web.xml with the appropriate changes is shown below:
Example web.xml for installing the Tag Library
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Web-app
PUBLIC "-//Sun* Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/Web-app_2_3.dtd">
<Web-app>
<taglib>
<taglib-uri>com.corda.taglib</taglib-uri>
<taglib-location>lib/corda.tld</taglib-location>
</taglib>
</Web-app>
Restart the application server.