What is a viewresolver in spring?



What is a viewresolver in spring?..

Answer / Prashant Srivastava

A ViewResolver in Spring is responsible for resolving a logical view name (returned by the Controller) to a physical view location. The DefaultViewResolver class is often used, which maps logical view names to .jsp files in a web application.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

What is the difference between constructor injection and setter injection?

1 Answers  


What are the ways by which configuration metadata can be provided to the spring container?

1 Answers  


What is difference between classnotfoundexception and noclassdeffounderror?

1 Answers  


How does spring proxy work?

1 Answers  


What is the difference between hibernate and spring?

1 Answers  


What is context getbean?

1 Answers  


What are the benefits of ioc?

1 Answers  


What is @responsebody in spring?

1 Answers  


Does spring jdbctemplate close connection?

1 Answers  


What is difference between @component and @controller?

1 Answers  


What is autowired?

1 Answers  


What ioc means?

1 Answers  


Categories