views:

78

answers:

1

I would like to do exactly what "google code prettifier" (syntax highlighting of code snippets in a web page) does, but on serverside using java.

Any ideas?

A: 

In the past, I have used Java2HTML to convert source code to HTML.

dogbane
After a small research I found out that there are two java2Html with the same name. The other one is http://java2html.de which seems to be a better alternative for me. Unfortunately both are released using GPL. And my boss would preffer an LGPL library ... :(
Boti