Sunday, August 29, 2010

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.rothbucher@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-
>> class>org.springframework.web.context.ContextLoaderListener</listener-
>> class>
>>         </listener>
>>         <servlet>
>>                 <servlet-name>dispatcher</servlet-name>
>>                 <servlet-class>org.springframework.web.servlet.DispatcherServlet</
>> servlet-class>
>>                 <init-param>
>>                         <param-name>contextConfigLocation</param-name>
>>                         <param-value>/WEB-INF/applicationContext.xml,/WEB-INF/dispatcher-
>> servlet.xml</param-value>
>>                 </init-param>
>>         </servlet>
>>         <servlet-mapping>
>>                 <servlet-name>dispatcher</servlet-name>
>>                 <url-pattern>*.do</url-pattern>
>>         </servlet-mapping>
>>
>>         <!-- GWT -->
>>         <servlet>
>>                 <servlet-name>myService</servlet-name>
>>                 <servlet-class>org.nomadphp.gwt.server.MyServiceImpl</servlet-class>
>>         </servlet>
>>         <servlet-mapping>
>>                 <servlet-name>myService</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-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment