wassertim
wassertim

Reputation: 3136

Java Spring MVC partial views

I'm learning Spring MVC at the moment and comparing it to ASP .NET MVC. Is there a way to use partial views in java (like .ascx partials in ASP .NET MVC), so i can associate it with action method of some controller and pass model data to it.

Upvotes: 3

Views: 1137

Answers (1)

matt b
matt b

Reputation: 139931

I'm not familiar with ASP .NET MVC but you might want to take a look at Apache Tiles, it's a very easy way to split up a view into several files.

Sitemesh is also good for this.

Upvotes: 2

Related Questions