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 [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.