Autor Thema: Display richtext content with java  (Gelesen 975 mal)

Offline Mircea Serban

  • Frischling
  • *
  • Beiträge: 4
  • Ich liebe dieses Forum!
Display richtext content with java
« am: 24.03.03 - 13:36:05 »
Hi

I have a document which contains a richtext field.

I wrote a servlet which read the document and display it.

String bodyText=((RichTextItem)doc.getFirstItem("body")).getFormattedText(false,0,0);

but with this method I lose the style of the richtext (bold, colors even new line)

How can I obtain this information with java backend classes?

Thanks
Mircea Serban


 

Impressum Atnotes.de  -  Powered by Syslords Solutions  -  Datenschutz