1 --------------------------------- 2 Clearsilver JavaJNI wrapper 3 by David Jeske 4 Distributed under the Neotonic ClearSilver License 5 ---------------------------------- 6 7 This is a binary compile of a Java JNI wrapper for the ClearSilver 8 templating library. This version is compiled on: 9 10 x86 Linux (Linux 2.2.x - RedHat 6.2) 11 12 INSTALLING 13 14 You must put the native library (libclearsilver-jni.so) into a standard 15 library location (i.e. like /lib), or make sure that Java can 16 find it by using the java command line directive: 17 18 -Djava.library.path=/somewhere/else 19 20 Then you must put the clearsilver.jar file into your java 21 CLASSPATH. 22 23 USING 24 25 See the example CSTest.java for an example of how to import 26 and use the clearsilver objects. 27 28 USING in a servlet 29 30 Since the most common usage of Clearsilver is in a servlet, 31 we've provided some examples of how to use it in the servlet/ 32 directory. 33 - 34