How to start a web service which only return plain text with GWT?

2011-06-14 Thread Hong Kong Youth IT Group
Hi everyone,

I am a newbie to GWT and working on a web project which allow caller
to query data from database with given sql:

www.iamweb.com/callSQL=select NAME from CLASS_TABLE

First of all, I am not sure if GWT allows to return plain text (.csv)
instead of html?

Thanks very much in adv!

Adonis

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: How to start a web service which only return plain text with GWT?

2011-06-14 Thread Juan Pablo Gardella
For this type of service I don't recommend GWT. GWT is for RIA application.
If you need a REST service, make a servlet and return csv directly.

Read about SQL injection too.

2011/6/14 Hong Kong Youth IT Group adonis@gmail.com

 Hi everyone,

 I am a newbie to GWT and working on a web project which allow caller
 to query data from database with given sql:

 www.iamweb.com/callSQL=select NAME from CLASS_TABLE

 First of all, I am not sure if GWT allows to return plain text (.csv)
 instead of html?

 Thanks very much in adv!

 Adonis

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.