Installing Version 2.8
1. Copy the two files dotJ.jar and dotJ.tld into the /WEB-INF/lib directory within your application. You can extract the dotJ.tld file from within the dotJ.jar file or download it directly using the link above. Then place the following lines in your application's web.xml descriptor:
<taglib>
<taglib-uri>dotJ</taglib-uri>
<taglib-location>/WEB-INF/lib/dotJ.tld</taglib-location>
</taglib>
2. Within the dotJ.jar file that was supplied to you, there are a number of files that you need to extract to your web site. The easiest way to do this is to extract all the files under the /_web directory (and subdirectories) to the root directory of your web site. Assuming the file dotJ.jar is located in C:\ and that the root directory of your web site is C:\MySite, the following will do this for you:
C:\temp> jar -xvf C:\dotJ.jar _web3. Within your web site, there will be two files that you will want to customize. They are:
C:\temp> xcopy .\_web\*.* C:\MySite /E /F /YAlthough we provide default values for the various settings within these two files, you will want to customize these for your own needs. See the files for what each setting is and how to customize them.
- /WEB-INF/classes/dotj_config.properties
- /WEB-INF/classes/dotj_content.properties
4. In your JSP pages, add the following line to the top of your page:
<%@ taglib uri="dotJ" prefix="dotj" %>
dotJ Custom Tag Library Technical Reference - [PDF] (897 K)
dotJ Custom Tag Library Technical Reference - [HTML] (1,382 K)
|
home : products : pricing : company : contact us : samples : download : forums : customers Copyright © 2000-2004 dotJ Software Inc. All rights reserved. |