Setting the default jsp view with spring mvc
Posted
by Walker
on Stack Overflow
See other posts from Stack Overflow
or by Walker
Published on 2010-03-24T20:51:51Z
Indexed on
2010/03/24
20:53 UTC
Read the original article
Hit count: 472
spring-mvc
|jsp
I want to set one of jsp files in my jsps folder as the default view for the application. Is there any way we can tell in that abc.jsp needs to be default and it can be found in such and such path. Also the url pattern is html so is there a way it can be mapped in Spring MVC. For example - When a user types www.example.com , I want the application to direct to abc.jsp page and also when someone types www.example.com/something, even then application should direct to abc.jsp, but the url pattern shouldnt be compromised.
Many Thanks. Nice Day Walker
© Stack Overflow or respective owner