title: Spring MVC Populate Modal Form
body: <p>I have a modal form (using <code>bootstrap</code>) that I use to add a user. This form is wired to a 'addUser' method via <code>RequestMapping</code> in my Controller. Adding a user works fine.</p>
  
  <p>Is there a simple way I can populate the same modal form to edit existing user details after clicking an edit button?  Do I have to make an <code>AJAX</code> call to a <code>REST endpoint</code> to populate the form, or is there a better way of doing this?</p>
  
  <p>I'm using Spring Boot.</p>
  
  <p>Thanks,
  Jerry</p>