Java Spring Partial MVC Views

I am studying Spring MVC at the moment and comparing it with ASP.NET MVC. Is there a way to use partial views in java (for example, partial .ascx in ASP.NET MVC), so I can associate it with the action method of some controller and pass model data to it.

+3
source share
1 answer

I am not familiar with ASP.NET MVC, but you can take a look at Apache Tiles , this is a very easy way to split a view into multiple files.

Sitemesh is also suitable for this.

+2
source

Source: https://habr.com/ru/post/1738759/


All Articles