I'm pretty sure the formatting isn't being lost - HTML renders newlines and
spaces as a single space. You will need to preserve HTML formatting in your
final output.

You can test this by setting output content-type to "text/plain" and seeing
that line breaks and spaces are correctly saved.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Thu, Dec 16, 2010 at 11:16 AM, Ojasvi <ojasvi.raj...@gmail.com> wrote:

> Hi I am using Java + Jdo to store data. I am able to store Text. The text I
> get loses all its formatting ( new lines spaces are all converted to single
> space )
> is their any way to prevent the same ? I have read both the community and
> official FAQ and searched this group.
> Please help
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to