title: Spring one ModelAttribute in several Controller
body: <p>I develop in Spring MVC + Apache Tiles + JSPX in my system.</p>
  
  <p>I would like to put login form in every page. In the login process I would like to use <code>@ModelAttribute("loginModel")</code> LoginDTO</p>
  
  <p>In Spring docs page I red that I must define a method in every controller, where I want to display that model like this:</p>
  
  <pre><code>@ModelAttribute("loginModel")
  public LoginDTO loginModel() {
     return new LoginDTO();
  }
  </code></pre>
  
  <p>Is there any way that I define it only one controller, and works in every page where I write the login Form jsp?</p>
  
  <p>Thanks your answare!</p>