Your controller method, which can have any name you want, returns a String with a url name that is defined in the views.xml that is defined for the view you want to load, the downloads section in this case.
So your controller looks like this:
@Controller
public class MyController {
@RequestMapping(value = "/downloads", method = RequestMethod.GET)
public String getDownloadSection() {
System.out.println("getting downloads");
return "downloads/index";
}
}
Your views.xml should contain the tag:
<definition extends="default" name="downloads/index">
<put-attribute name="body" value="/WEB-INF/views/downloads/index.jspx"/>
</definition>
The extends="default" is a tile definition that should be in your layouts.xml
I think thats about it. If you do a GET request to //yoursite/downloads it should print the message.
That should answer your question i hope :)