Send list box items to server
Hi, I've a GWT page with a list box and a button. Upon clicking the button, I need to send the selected list item to a servlet. How can I pass this list?by URL query string(GET)? or using POST ? Regards, ArunKumar.Dharuman --~--~-~--~~~---~--~~ 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: Send list box items to server
Hi, You can call your servlet as a service and send the data with a method call. May be the following tutorial will help you to achieve this. http://lkamal.blogspot.com/2008/09/java-gwt-servlets-web-app-tutorial.html BR, Kamal --- Kamal Mettananda http://lkamal.blogspot.com On Tue, Jun 30, 2009 at 7:43 PM, ArunDhaJ arund...@gmail.com wrote: Hi, I've a GWT page with a list box and a button. Upon clicking the button, I need to send the selected list item to a servlet. How can I pass this list?by URL query string(GET)? or using POST ? Regards, ArunKumar.Dharuman --~--~-~--~~~---~--~~ 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: Send list box items to server
It was a good tutorial on writing a servlets for GWT. Actually in my case, I'm using our own webserver within which we add servlets in it. for me the only option to communicate to servlet is through GET or POST request.. On Jun 30, 8:00 pm, Kamal Chandana Mettananda lka...@gmail.com wrote: Hi, You can call your servlet as a service and send the data with a method call. May be the following tutorial will help you to achieve this. http://lkamal.blogspot.com/2008/09/java-gwt-servlets-web-app-tutorial... BR, Kamal --- Kamal Mettanandahttp://lkamal.blogspot.com On Tue, Jun 30, 2009 at 7:43 PM, ArunDhaJ arund...@gmail.com wrote: Hi, I've a GWT page with a list box and a button. Upon clicking the button, I need to send the selected list item to a servlet. How can I pass this list?by URL query string(GET)? or using POST ? Regards, ArunKumar.Dharuman- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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: Send list box items to server
So I guess you will need to create a link dynamically and open it using GWT; it means you'll have to use a GET call with parameters. --- http://lkamal.blogspot.com On Tue, Jun 30, 2009 at 9:18 PM, ArunDhaJ arund...@gmail.com wrote: It was a good tutorial on writing a servlets for GWT. Actually in my case, I'm using our own webserver within which we add servlets in it. for me the only option to communicate to servlet is through GET or POST request.. On Jun 30, 8:00 pm, Kamal Chandana Mettananda lka...@gmail.com wrote: Hi, You can call your servlet as a service and send the data with a method call. May be the following tutorial will help you to achieve this. http://lkamal.blogspot.com/2008/09/java-gwt-servlets-web-app-tutorial... BR, Kamal --- Kamal Mettanandahttp://lkamal.blogspot.com On Tue, Jun 30, 2009 at 7:43 PM, ArunDhaJ arund...@gmail.com wrote: Hi, I've a GWT page with a list box and a button. Upon clicking the button, I need to send the selected list item to a servlet. How can I pass this list?by URL query string(GET)? or using POST ? Regards, ArunKumar.Dharuman- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---