This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "bbcodes" Watch "bbcodes" New topic
Author

bbcodes

baalu sasidhar
Greenhorn

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
thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 62123
    
  68

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: http://aspose.com/file-tools
 
subject: bbcodes