aspose file tools*
The moose likes JDBC and the fly likes RichText Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "RichText" Watch "RichText" New topic
Author

RichText

Vinod Kumar
Ranch Hand

Joined: Jan 18, 2002
Posts: 75
Hi,

It will be great if some one can answer these questions.

i)How can we store a Rich Text (applet editor in browser) to a MS SQL server database in the same format which can be retrieved?
ii) How can we store a text in database which has images in some part of text? Example: This is a simley and I wonder !
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
What have you tried in the rich text? When you get the text out of the editing widget in your applet, it's a String like any other, no? Can you just stuff that in a varchar field?


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61426
    
  67

As this seems to concentrate on the DB end of things, moved to the JDBC forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Arulanand Dayalan
Ranch Hand

Joined: Aug 10, 2005
Posts: 124
Use blob object to store the rich text and images.

Regards,
Arul
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RichText