Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Other Open Source Projects and the fly likes Display Java code in an HTML page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Display Java code in an HTML page" Watch "Display Java code in an HTML page" New topic
Author

Display Java code in an HTML page

Sourabh Bawage
Ranch Hand

Joined: Sep 03, 2013
Posts: 33

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....

SCJP
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Display Java code in an HTML page