Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > How to Display get text/plain body part from the message???

Reply
Thread Tools

How to Display get text/plain body part from the message???

 
 
sgane
Guest
Posts: n/a
 
      10-11-2004
Hi friends,
I want to display a message in an editor pane. There's no
problem in case of small sized messages. But when the size exceeds,
1.5MB I takes a lot of time to get the body of the message.
I'm using mime message for getting the body of the message
from the server. I'm seperating the multipart message recursively to
get the various body parts. The problem is with getContent() method.
It takes time to load the large body part into the ram.
Is there any solution for this?

Thanks,
Ganesh
 
Reply With Quote
 
 
 
 
Paul Lutus
Guest
Posts: n/a
 
      10-11-2004
sgane wrote:

> Hi friends,
> I want to display a message in an editor pane. There's no
> problem in case of small sized messages. But when the size exceeds,
> 1.5MB I takes a lot of time to get the body of the message.
> I'm using mime message for getting the body of the message
> from the server. I'm seperating the multipart message recursively to
> get the various body parts. The problem is with getContent() method.
> It takes time to load the large body part into the ram.
> Is there any solution for this?


1. Use smaller messages.

2. Make the server do the filtering, not the client. Example: run a database
on the server side and issue an SQL query from the client that extracts
only the relevant text.

3. Restructure your data so it is organized more efficiently.

--
Paul Lutus
http://www.arachnoid.com

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
To reduce your body weight & slim your body Loss weight MCSA 0 07-23-2007 07:54 PM
To reduce your body weight & slim your body Loss weight MCSA 0 07-21-2007 05:15 AM
MIME::Parser .. how to get just the message part of the body matthewlenz@gmail.com Perl Misc 0 09-09-2005 06:06 PM
all the text (including tags) between <body> .. </body> tarakparekh@yahoo.com Perl Misc 5 09-07-2005 11:40 PM
Not detecting body.scrollTop and body.scrollLeft in IE6 London Boy Javascript 2 01-12-2004 08:44 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57