tags:

views:

162

answers:

2

I have experience with ASP.NET MVC, but for my current project I have to use java.

What view technology for java is closest to ASP.NET MVC Master Pages?

+1  A: 

Apache Tiles

See Spring's petcare sample for example of using Tiles with Spring MVC

axtavt
A: 

ASP.NET MVC is a component based MVC framework which is backed by C#/NET code. In Java (actually: Java EE) terms, JSF (JavaServer Faces) does exactly the same: a component based MVC framework backed by Java code. You can learn about JSF at the Java EE 6 tutorial part II chapters 4-9.

As usual in Java world there's more competition than in .NET world. Most popular (most used) of them being Spring MVC, Struts, Stripes and Wicket. They however all runs on top of the Servlet API, so it's never a bad idea to learn about it as well to have a better understanding what's going on "under the hoods".

BalusC
The question is not about an equivalent to ASP.NET MVC, it's about an equivalent to "Master Page" (very likely a kind of template stuff). And it's a dupe actually :)
Pascal Thivent
Ah well, that would then be Facelets. It's also included in the linked JSF tutorial.
BalusC