Hi,
I’m using Spring Security for security, and I’m having a hard to getting back into the /WEB-INF/jsp/ folder. After I log in, I’d like to be directed to the WEB-INF/jsp folder, so that I can continue to use MVC, but when I use default-target-url=”/WEB-INF/jsp/home.jsp” it gives me the 404 error; however, if I use default-target-url=”/home.jsp” it will work if I have a home.jsp outside the WEB-INF folder.
<!-- Login Requirements -->
<sec:form-login login-page="/login.jsp"
default-target-url="/WEB-INF/jsp/home.jsp"
always-use-default-target="true"
authentication-failure-url="/login.jsp?login_error=1" />
So I first get directed to the /login.jsp “which works just fine”, then I’d like to get directed into /WEB-INF/jsp/home.jsp where Spring controller has controll over home.jsp.