Here are the steps to deploy the application:
<user username="tomcat" password="tomcat" roles="tomcat,manager"/>
You probably need to add the role "manager" by yourself.
ant -lib compile-lib install
in the home directory of "taglib_demo". Notice that you cannot write simpley "ant install", since there is a file "catalina-ant.jar" in the "compile-lib" directory, which is needed for some custom Ant tasks. (You can also copy the catalina-ant.jar to your Ant's "lib" directory. Then you can type simply "ant install").
ant -lib compile-lib reload
You can see the glossary terms, when you deploy the application and see the static file http://localhost:8080/CustomTaglib/dict/7kyu.html. The challenge is to see the same thing, when calling http://localhost:8080/CustomTaglib/dict/7kyu.jsp and to read the glossary definitions from data/glossary.n3.
In modern Web applications such Web-based glossaries are usually done with AJAX - HTTP requests in the background. If you wish, you can do this exercise with AJAX as well (in this case glossary definitions are not hard-coded in the HTML file we send to the client, but are transmitted over the network only if the user asks for them, i.e. hovers the mouse over the terms.).