title: How to refer to pages inside WEB INF using a:href
body: <p>I have all my jsp pages inside webapp/WEB-INF/jsp. So I cannot access these pages from <code>a:href</code>. Pls tell me some way to make these <code>a:href</code> working</p>
  
  <p>menu.jsp</p>
  
  <pre><code>&lt;a:href=”mainmenu/Menu1.jsp”&gt;
  </code></pre>
  
  <p>Menu1.jsp page is located in webapp/WEB-INF/jsp/mainmenu/Menu1.jsp</p>
  
  <p>My spring-servlet.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
      xmlns:context="http://www.springframework.org/schema/context"
      xmlns:p="http://www.springframework.org/schema/p" 
      xmlns:mvc="http://www.springframework.org/schema/mvc"
      xsi:schemaLocation="http://www.springframework.org/schema/beans
          http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
          http://www.springframework.org/schema/context
          http://www.springframework.org/schema/context/spring-context-4.0.xsd
          http://www.springframework.org/schema/mvc
          http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd"&gt;
  
      &lt;context:annotation-config /&gt;
      &lt;!-- Scans within the base package of the application for @Components to configure--&gt;
      &lt;context:component-scan base-package="com.bankofny.inx.omx.lc.web" /&gt;
  
      &lt;!-- Enables the Spring MVC @Controller programming model --&gt;
      &lt;mvc:annotation-driven /&gt;
  
      &lt;bean id="messageSource"
          class="org.springframework.context.support.ResourceBundleMessageSource"&gt;
          &lt;property name="basename" value="resources.application" /&gt;
      &lt;/bean&gt;
  
  
      &lt;bean id="viewResolver"
          class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;
          &lt;property name="viewClass"
              value="org.springframework.web.servlet.view.JstlView"&gt;&lt;/property&gt;
          &lt;property name="prefix" value="/WEB-INF/jsp/"&gt;&lt;/property&gt;
          &lt;property name="suffix" value=".jsp"&gt;&lt;/property&gt;
      &lt;/bean&gt; 
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>import org.springframework.stereotype.Controller;
  import org.springframework.ui.Model;
  import org.springframework.ui.ModelMap;
  import org.springframework.validation.BindingResult;
  import org.springframework.web.bind.annotation.ModelAttribute;
  import org.springframework.web.bind.annotation.RequestMapping;
  import org.springframework.web.bind.annotation.RequestMethod;
  import org.springframework.web.servlet.ModelAndView;
  @Controller
  public class ClsSaveAction implements OMXServiceIDs {
  @RequestMapping(value = "/ClsSave", method = RequestMethod.POST)
      public ModelAndView execute(HttpServletRequest  request,
                                   HttpServletResponse response,
                                   @ModelAttribute("clsData") ClauseData clauseData,
                                   BindingResult bindingResult,
                                   Model model)
          throws Exception {
  
          System.out.println("inside this method");
          model.addAttribute("clsData", new ClauseData());
  
          try
          {
            .
  .
  .
  .
  .
  .
  
              return new ModelAndView("blank", "clsData", new ClauseData());
  
  
          }
  
          catch (Exception e) {
  
            throw e;
          }
      }
  }
  </code></pre>