I have Spring WS which handle all kind of request in spring-ws-servlet.xml context:
<servlet-mapping>
<servlet-name>spring-ws</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
Is there a way to create a policy where specific request will be redirected to address i want? for example when someone request for address localhost:8080/MyProject/someofrequest.asmx my web.xml will redirect this request to localhost:8080/MyProject/HandleMessage ??
A solution would be to create a very simple servlet that will redirect requests with the pattern
*.asmxto your/HandleMessageaction:Servlet code: