OK a friend is developing a content system not unlike sitepoint's using Java and MySQL. The problem we have run into is that we can find no way to get java to do page breaks like PHP.

I am talking about when you submit a really long article via the content form, it breaks it up into seperate pages of acceptable length with links at the bottom saying next> and <last for navigation between pages. Or even better yet, a number/link for each page of the article. Either would be acceptable.

If anyone could help use figure this out, I would greatly apreciate it.

Thanks