Hello,
I don’t know which changes you want to do, whether
(1) you want to change the behavior of existing by mapping the text to another class or
(2) you want to extend the library by an additional tag that invokes one of your classes.
For (2) I can give you perhaps some hints.
Let us assume that you have an X-Application which is in the wab-application directory of your Tomcat Server, e.g.
%TOMCAT_HOME%\webapps\myApplication
(a) which TLD file is used for your application is stored within the file
%TOMCAT_HOME%\webapps\myApplication\WEB-INF\web.lib
(see … )
For an X-Application is should be
/WEB-INF/jsp/xapplication.tld
This means the TLD file which affects your application is in
%TOMCAT_HOME%\webapps\myApplication\WEB-INF\jsp\xapplication.tld
If you rename this file and restart your Tomcat, your application should not work, because the file can not be found by Tomcat, when it tries to compile one of your JSP pages.
(b) You can add a new tag definition to the xapplication.tld file if you want. If doing this you should also copy a jar-file containing the java class/classes which implement(s) the behavior of your tag. The classes for the X-Application?s tags are in the file
%TOMCAT_HOME%\webapps\myApplication\WEB-INF\lib\xapplication.jar
To become familiar you could create a class that prints out a string “Hallo” into its BodyContent.
Hopefully, this will help to find out where you former problems are.
Bye,
Christian.
#webMethods#API-Management#Tamino