You should use the method Text.getValue() From: Michael Boswell <mbo...@gmail.com> Reply-To: <google-appengine-java@googlegroups.com> Date: Wed, 27 Oct 2010 17:38:48 -0700 (PDT) To: <google-appengine-java@googlegroups.com> Subject: [appengine-java] Text enclosed with <Text: ~~~ >
I have a com.google.appengine.api.datastore.Text object stored in the datastore, when examined through the datastore viewer, it reads as it should e.g. 'this is a test' I retrieve it with a public Text getData() { return data; } then write it out with getWriter, however I'm getting <Text: this is a test> instead of just 'this is a test' Sure I'm doing something daft! I'm rather new to java. Thanks in advance. -- 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. -- 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.