As Spring MVC 3 handles requests through annotations.
@RequestMapping(value = "/welcome")
etc
My application URL is https://localhost:9452/clientapp/welcome.htm
This URL opens up welcome page.
My web.xml is:
<servlet-mapping>
<servlet-name>spring</servlet-name>
<url-pattern>*.htm</url-pattern>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
How to handle/catch this request with no welcome.htm.
https://localhost:9452/clientapp/
I tried using this but in vain
@RequestMapping(value = { "/*.htm", "/**/*.htm", "/*", "/**/*" })