views:

123

answers:

1

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.

A: 

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.

matt b