-
Oct 18th, 2012, 10:33 AM
#1
How to ignore .jsp in request url?
I've to support a legacy url that end up with .jsp such as http://ip/app/abc.jsp?xx=xxx and turn it into a conventional url. I've tried to specify this bean but still /abc.jsp won't get into "/" mapping. Pls help. TIA.
<bean class="org.springframework.web.servlet.view.Conten tNegotiatingViewResolver">
<property name="ignoreAcceptHeader" value="true" />
<property name="favorPathExtension" value="false" />
</bean>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules