Application Integration (On-Premises) : Incorporating web applications : Guidelines for Creating Web Applications : Setting Up a Package so a Web Application Can Use the webMethods Tags for JSP
Setting Up a Package so a Web Application Can Use the webMethods Tags for JSP
This section describes how to set up the web application’s Integration Server package if you want to use the webMethods tags for JSP within your web application.
To set up a package so a web application can use the webMethods tags
1. If the Integration Server package does not exist, start Designer and create a new package. The package must match the name of the war file you will be using. For more information about creating packages, see webMethods Service Development Help.
2. If the Integration Server package already exists and the package was created before Integration Server 6.0, create a \web directory beneath the package’s root directory, as follows:
Integration Server_directory \instances\instance_name\packages\packageName\web
3. Make a local copy of the webMethods tag library for JSP in the package. This will improve the performance of your web application.
a. Copy the webm-taglib.tld file that is in the Integration Server_directory \instances\instance_name\web directory.
b. Place the copy in the Integration Server_directory \instances\instance_name\packages\packageName\web\WEB-INF directory of the Integration Server package for the web application.
4. Update the web.xml file for the web application to identify the location of the webMethods tag library (webm-taglib.tld). The web.xml file for the web application should be stored in the following directory:
Integration Server_directory \instances\instance_name\packages\packageName\web\WEB-INF
To update the web.xml file, add the following <taglib> section:
<taglib>
<taglib-uri>http://webm-taglib.tld</taglib-uri>
<taglib-location>/WEB-INF/webm-taglib.tld</taglib-location>
</taglib>
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback