I am going crazy here. Just trying to print all the Spring beans in a JSP. I am using getBeanDefinitionNames, getPackage(), getName() from applicationContext to print some bean names and their packages.
Everything runs fine and I could verify all the beans with a debugger, but as soon as I populate the list on JSP with a populated model object(list of objects containing bean attributes), every element of the list shows:
org.springframework.web.servlet.view.InternalResourceViewResolver
and it's corresponding package: package org.springframework.web.servlet.view
Why is it acting this way?
Aucun commentaire:
Enregistrer un commentaire