Spring mvc cannot access jsp under WEB-INF/pages through url

encountered an awkward problem. My Springmvc can access static files through url, but there is no way to access jsp files under WEB-INF/pages through url

I wrote this sentence in my servlet-xml

< mvc:resources mapping= "/ pages/**" location= "/ WEB-INF/pages/" / >

but it didn"t work

is it impossible to access jsp through url? if I click on iframe to open a window, do I still have to write a string returned by controller to access it

?
Mar.09,2021

comment < mvc: > can I access it?

Menu