Show Images
This page shows some dynamically generated gifs!
It needs some classes from the Acme package available from
http://www.acme.com/.
See end of this page for install info.
Example
Install
For me the following worked to get it running on Linux/Apache/JServ.
If you have a windows way of doing it, please provide!
I now describe my way of making a jar file from
the sources available for the Acme package.
- Get the sources from http://www.acme.com/.
- Unpack the tar file.
- Create the jar file:
jar c0vf Acme.jar `find . -name \*.class`
- move the jar file where you want it to be:
mv Acme.jar /home/heyl/lib/java/Acme.jar
- You have two ways to add that jar to the jsp classpath, see
jserv Dokumentation or GNUJSP's INSTALL.apache
for an explanation of the difference.
- Add it to jserv.properties using:
wrapper.classpath=/home/heyl/lib/java/Acme.jar
- Add it to your-zone.properties:
- repositories=/home/heyl/lib/java/Acme.jar
AND to the classpath parameter of
gnujsp initargs:
- servlet.gnujsp.initArgs=...compiler=builtin-javac -classpath %classpath%:%scratchdir%:...:/home/heyl/lib/java/Acme.jar -d %scratchdir% -deprecation %source%
- Then copy the jsp-files from the example dir to your web servers
document directory and call acme-show.html using
http://localhost/myexamples/acme-show.html or similiar.
If you have problems feel free to ask on gnujsp@gjt.org.