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.
  1. Get the sources from http://www.acme.com/.
  2. Unpack the tar file.
  3. Create the jar file:
    jar c0vf Acme.jar `find . -name \*.class`
  4. move the jar file where you want it to be:
    mv Acme.jar /home/heyl/lib/java/Acme.jar
  5. 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.
    1. Add it to jserv.properties using:
      wrapper.classpath=/home/heyl/lib/java/Acme.jar
    2. 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%
  6. 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.