On Jan 16, 5:45 pm, Trevis <[email protected]> wrote: > Ok so, i noticed when i return json from a servlet that i'm using to > handle image uploads that the reply was wrapped in a <pre> tag, i put > in code to scrape it off and all seemed fine, till i tested in ie8. > In that browser the pre tag was upper case! so i fixed that. Today i > decide to test in chrome and in that browser it's wrapped in this <pre > style="word-wrap: break-word; white-space: pre-wrap;"> what gives??! > Am i doing something wrong that is causing it to do this? I'm worried > now that i'll have to check in every browser just to see what this > thing does.
Just return text/html, as recommended in the JavaDoc (and don't forget to use < for < and & for &)
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
