While using InternalResourceViewResolver
in Spring, is it necessary to specify viewClass
as
org.springframework.web.servlet.view.JstlView
to use JSTL? Because without specifying it I am still able to access JSTL tags (I used <c:out/>
) in JSP without any exception or error.
I found the answer at seeing the InternalResourceViewResolver and here
The JstlView class is set by default if we resolve view using InternalResourceViewResolver and jstl jar is in classpath.