aspose file tools*
The moose likes GWT and the fly likes Spring + GWT - problem mapping hosted.html? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Spring + GWT - problem mapping hosted.html?" Watch "Spring + GWT - problem mapping hosted.html?" New topic
Author

Spring + GWT - problem mapping hosted.html?

Marco San
Greenhorn

Joined: Apr 21, 2011
Posts: 1
Hey everyone!

I have my application going right but when I made a menu with GWT and I call it in the web page it works if I have this commented in web.xml:
<servlet>
<servlet-name>dispatcher</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>dispatcher</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>


But if I have this not commented the menu doesnt appear and sends a warning:
org.springframework.web.servlet.DispatcherServlet noHandlerFound
WARNING: No mapping found for HTTP request with URI [/<projectName>/hosted.html] in DispatcherServlet with name 'dispatcher'


Looks like it tries to map hosted.html and cache.html from GWT. Anyone knows why this happens?

Thnx guys;)
Marko
 
 
subject: Spring + GWT - problem mapping hosted.html?