Java2HTML: Java Source Code to HTML
This online tool (source) converts a java source code into HTML with syntax highlighting.
With the following form you can upload a Java source file from your computer and have it syntax highlighted. The maximum file size is 70 K.
There is also an experimental support for Haskell (non-literate) source code.