• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring + GWT - problem mapping hosted.html?

 
Marco San
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic