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

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "bbcodes" Watch "bbcodes" New topic


baalu sasidhar

Joined: Jun 25, 2008
Posts: 4
hi i want to display program codes as such in the forum I'm developing.
Currently Im getting codes from the database as continuous text
can anyone help me to use the BB code in my jsp pages
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62272

You'd use standard search and replace algorithms. This really doesn't have much to do with JSP, so I've moved this off to a more appropriate forum.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: bbcodes