Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display Java code in an HTML page

 
Sourabh Bawage
Ranch Hand
Posts: 33
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to display Java code on my website which has Java Code...basically I need a Java code highlighter like this...

I know this is not related to JSP.....I did some googling...couldn't find much....
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think this is the one we're using: http://alexgorbatchev.com/SyntaxHighlighter/. It also seems to have a Java port, should that be of interest.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic