Re: Integration of GWT in Spring
Hi, I guess it is a little more difficult than that as you have to integrate two paradigms here: one is request-response (classic webapp style of spring web mvc), the other is requesting on demand by google web toolkit. Possibly the easiest way would be rendering a gwt carrier page via spring - or embedding GWT via an invisible IFrame; I don't think it is that easy to just submit the contents of a GWT app along with other classic form fields... Hope this helps - good luck and best regards Sebastian On 21 Aug., 00:24, la-praline benmahidd...@gmail.com wrote: Hello everyone, First of all sorry for my mistakes i'm french. I'm making a web application with Spring and i need gwt for a text editor so i'm trying to integrate GWT in Spring. I used the webAppCreator to make an example. I use the same architecture. When i go to the page the browser return that HTTP method GET is not supported by this URL there is my web.xml ?xml version=1.0 encoding=UTF-8? web-app ... !-- Spring Entry point -- listener listener- classorg.springframework.web.context.ContextLoaderListener/listener- class /listener servlet servlet-namedispatcher/servlet-name servlet-classorg.springframework.web.servlet.DispatcherServlet/ servlet-class init-param param-namecontextConfigLocation/param-name param-value/WEB-INF/applicationContext.xml,/WEB-INF/dispatcher- servlet.xml/param-value /init-param /servlet servlet-mapping servlet-namedispatcher/servlet-name url-pattern*.do/url-pattern /servlet-mapping !-- GWT -- servlet servlet-namemyService/servlet-name servlet-classorg.nomadphp.gwt.server.MyServiceImpl/servlet-class /servlet servlet-mapping servlet-namemyService/servlet-name url-pattern*.gwt/url-pattern /servlet-mapping ... /web-app There is my dispatcher-servlet.xml beans ... ... !-- urlMapping Configuration -- bean id=urlMapping class=org.springframework.web.servlet.handler.SimpleUrlHandlerMapping property name=urlMap map ... entry key=/projectEditor.gwt ref bean=myService / /entry /map /property /bean !-- Gwt Controller -- bean id=myService class=org.nomadphp.gwt.server.MyServiceImpl / /beans Thank you for your help -- 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-tool...@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: Integration of GWT in Spring
Hi Maybe this can help you: http://gwt-widget.sourceforge.net/gwt-sl/reference-1.0/index.html 2010/8/29 Sebastian Rothbucher sebastian.rothbuc...@clarities.de: Hi, I guess it is a little more difficult than that as you have to integrate two paradigms here: one is request-response (classic webapp style of spring web mvc), the other is requesting on demand by google web toolkit. Possibly the easiest way would be rendering a gwt carrier page via spring - or embedding GWT via an invisible IFrame; I don't think it is that easy to just submit the contents of a GWT app along with other classic form fields... Hope this helps - good luck and best regards Sebastian On 21 Aug., 00:24, la-praline benmahidd...@gmail.com wrote: Hello everyone, First of all sorry for my mistakes i'm french. I'm making a web application with Spring and i need gwt for a text editor so i'm trying to integrate GWT in Spring. I used the webAppCreator to make an example. I use the same architecture. When i go to the page the browser return that HTTP method GET is not supported by this URL there is my web.xml ?xml version=1.0 encoding=UTF-8? web-app ... !-- Spring Entry point -- listener listener- classorg.springframework.web.context.ContextLoaderListener/listener- class /listener servlet servlet-namedispatcher/servlet-name servlet-classorg.springframework.web.servlet.DispatcherServlet/ servlet-class init-param param-namecontextConfigLocation/param-name param-value/WEB-INF/applicationContext.xml,/WEB-INF/dispatcher- servlet.xml/param-value /init-param /servlet servlet-mapping servlet-namedispatcher/servlet-name url-pattern*.do/url-pattern /servlet-mapping !-- GWT -- servlet servlet-namemyService/servlet-name servlet-classorg.nomadphp.gwt.server.MyServiceImpl/servlet-class /servlet servlet-mapping servlet-namemyService/servlet-name url-pattern*.gwt/url-pattern /servlet-mapping ... /web-app There is my dispatcher-servlet.xml beans ... ... !-- urlMapping Configuration -- bean id=urlMapping class=org.springframework.web.servlet.handler.SimpleUrlHandlerMapping property name=urlMap map ... entry key=/projectEditor.gwt ref bean=myService / /entry /map /property /bean !-- Gwt Controller -- bean id=myService class=org.nomadphp.gwt.server.MyServiceImpl / /beans Thank you for your help -- 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-tool...@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-tool...@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: Integration of GWT in Spring
http://pgt.de/2009/07/17/non-invasive-gwt-and-spring-integration-reloaded/ There is also working example code for the same. Thanks, Subhro. On Sun, Aug 29, 2010 at 4:31 PM, Sebastian Rothbucher sebastian.rothbuc...@clarities.de wrote: Hi, I guess it is a little more difficult than that as you have to integrate two paradigms here: one is request-response (classic webapp style of spring web mvc), the other is requesting on demand by google web toolkit. Possibly the easiest way would be rendering a gwt carrier page via spring - or embedding GWT via an invisible IFrame; I don't think it is that easy to just submit the contents of a GWT app along with other classic form fields... Hope this helps - good luck and best regards Sebastian On 21 Aug., 00:24, la-praline benmahidd...@gmail.com wrote: Hello everyone, First of all sorry for my mistakes i'm french. I'm making a web application with Spring and i need gwt for a text editor so i'm trying to integrate GWT in Spring. I used the webAppCreator to make an example. I use the same architecture. When i go to the page the browser return that HTTP method GET is not supported by this URL there is my web.xml ?xml version=1.0 encoding=UTF-8? web-app ... !-- Spring Entry point -- listener listener- classorg.springframework.web.context.ContextLoaderListener/listener- class /listener servlet servlet-namedispatcher/servlet-name servlet-classorg.springframework.web.servlet.DispatcherServlet/ servlet-class init-param param-namecontextConfigLocation/param-name param-value/WEB-INF/applicationContext.xml,/WEB-INF/dispatcher- servlet.xml/param-value /init-param /servlet servlet-mapping servlet-namedispatcher/servlet-name url-pattern*.do/url-pattern /servlet-mapping !-- GWT -- servlet servlet-namemyService/servlet-name servlet-classorg.nomadphp.gwt.server.MyServiceImpl/servlet-class /servlet servlet-mapping servlet-namemyService/servlet-name url-pattern*.gwt/url-pattern /servlet-mapping ... /web-app There is my dispatcher-servlet.xml beans ... ... !-- urlMapping Configuration -- bean id=urlMapping class=org.springframework.web.servlet.handler.SimpleUrlHandlerMapping property name=urlMap map ... entry key=/projectEditor.gwt ref bean=myService / /entry /map /property /bean !-- Gwt Controller -- bean id=myService class=org.nomadphp.gwt.server.MyServiceImpl / /beans Thank you for your help -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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.
Integration of GWT in Spring
Hello everyone, First of all sorry for my mistakes i'm french. I'm making a web application with Spring and i need gwt for a text editor so i'm trying to integrate GWT in Spring. I used the webAppCreator to make an example. I use the same architecture. When i go to the page the browser return that HTTP method GET is not supported by this URL there is my web.xml ?xml version=1.0 encoding=UTF-8? web-app ... !-- Spring Entry point -- listener listener- classorg.springframework.web.context.ContextLoaderListener/listener- class /listener servlet servlet-namedispatcher/servlet-name servlet-classorg.springframework.web.servlet.DispatcherServlet/ servlet-class init-param param-namecontextConfigLocation/param-name param-value/WEB-INF/applicationContext.xml,/WEB-INF/dispatcher- servlet.xml/param-value /init-param /servlet servlet-mapping servlet-namedispatcher/servlet-name url-pattern*.do/url-pattern /servlet-mapping !-- GWT -- servlet servlet-namemyService/servlet-name servlet-classorg.nomadphp.gwt.server.MyServiceImpl/servlet-class /servlet servlet-mapping servlet-namemyService/servlet-name url-pattern*.gwt/url-pattern /servlet-mapping ... /web-app There is my dispatcher-servlet.xml beans ... ... !-- urlMapping Configuration -- bean id=urlMapping class=org.springframework.web.servlet.handler.SimpleUrlHandlerMapping property name=urlMap map ... entry key=/projectEditor.gwt ref bean=myService / /entry /map /property /bean !-- Gwt Controller -- bean id=myService class=org.nomadphp.gwt.server.MyServiceImpl / /beans Thank you for your help -- 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-tool...@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.