title: How to include jsp pages using Spring form tag?
body: <p>I'm using Spring, in that I have <code>user.jsp</code></p>
  
  <p><code>user.jsp</code> has three separate divisons: 1. Personal,  2. Educational,  3. Awards. Each section has different forms .jsp that I have created.</p>
  
  <p>Now I'm thinking to include these three forms into <code>user.jsp</code> and display Model using one Controller.</p>
  
  <p>Here is my controller class code:</p>
  
  <pre><code>@Controller
  @RequestMapping(value="profile")
  public class UserProfileController {
  
      @RequestMapping(value="user", method=RequestMethod.GET)
      public String user(Model model) throws Exception {
          model.addAttribute("profile", new PersonalForm());
  
          return "profile/user";
      }
  </code></pre>
  
  <p>And this is my Personal.jsp file (all remaining files are the same but names are different)</p>
  
  <p>So how to include these three jsp into <code>user.jsp</code>? Actually I'm trying but Eclipse is showing an error. Below is my error code in <code>user.jsp</code>:</p>
  
  <blockquote>
    <p>Fragment "profile/professional.jsp" was not found at
    expected path /EClass/WebContent/WEB-INF/ 
    pages/profile/profile/professional.jsp</p>
  </blockquote>
  
  <p>So please help me how to include and how to work with single controller?</p>