title: Neither BindingResult nor plain target object for bean name 'searchPhrase' available as request attribute
body: <p>I am trying to implement a search functionality.
  However I keep ending up with the above error.</p>
  
  <p>I have tried solutions to similar problems posted on this forum, they do not seem to work.</p>
  
  <p>SearchController </p>
  
  <pre class="lang-java prettyprint-override"><code>@Controller
  public class SearchController {
  
      @Autowired
      private TrainingService service;
  
      @ModelAttribute("searchPhrase")
      public SearchPhrase getSearchPhrase()
      {
          System.out.println("wjxjedxkedhxkhklxhkldxhljel");
          return new SearchPhrase();
      }
  
      @RequestMapping(value="/trainingSearch", method=RequestMethod.POST)
      public String displayTrainings(@ModelAttribute("searchPhrase") SearchPhrase p, Model model)
      {
          System.out.println("wjxjedxkedhxkhklxhkldxhljel");
          model.addAttribute("title", "Trainings");
          //Create flight bean
          List&lt;Training&gt; trainings=service.search(p.getPhrase());;
          model.addAttribute("trainings", trainings); 
          //View Selection
          return "displayTrainings";
      }
  
  }
  
  </code></pre>
  
  <p>home.jsp - This obtains search phrase from the user</p>
  
  <pre class="lang-java prettyprint-override"><code>&lt;%@ page language="java" contentType="text/html; charset=ISO-8859-1"
      pageEncoding="ISO-8859-1"%&gt;
  &lt;%@ taglib prefix="f" uri="http://www.springframework.org/tags/form"%&gt;
  &lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta charset="ISO-8859-1"&gt;
  &lt;title&gt;Search&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div class="container"&gt;
          &lt;f:form method="POST" action="trainingSearch" modelAttribute="searchPhrase"&gt;
              &lt;div class="form-group"&gt;
                  &lt;label for="phrase"&gt;Search Phrase&lt;/label&gt;
                  &lt;f:input type="text" id="phrase" path="phrase" class="form-control" /&gt;
              &lt;/div&gt;
              &lt;button type="submit" class="btn btn-primary"&gt;Search&lt;/button&gt;
          &lt;/f:form&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>SearchPhrase Class - Used to store modelAttribute</p>
  
  <pre class="lang-java prettyprint-override"><code>
  public class SearchPhrase {
  
      private String phrase;
  
      public SearchPhrase() {
      }
  
      public SearchPhrase(String phrase) {
          super();
          this.phrase = phrase;
      }
  
  
      public String getPhrase() {
          return phrase;
      }
  
      public void setPhrase(String phrase) {
          this.phrase = phrase;
      }
  }
  
  </code></pre>
  
  <p>search functionality implementation</p>
  
  <pre class="lang-java prettyprint-override"><code>
      @Override
      @Transactional
      public List&lt;Training&gt; search(String phrase) {
          Session session = sessionFactory.getCurrentSession();
          Criteria crit = session.createCriteria(Training.class);
          crit.add(Restrictions.eq("status","true"));
          crit.add(Restrictions.ilike("techstack",phrase,MatchMode.ANYWHERE));
          List&lt;Training&gt; results = crit.list();
          session.close();
          return results;
  //      return null;
      }
  
  
  
  
  </code></pre>
  
  <p>Errors:</p>
  
  <pre class="lang-java prettyprint-override"><code>java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'searchPhrase' available as request attribute
      at org.springframework.web.servlet.support.BindStatus.&lt;init&gt;(BindStatus.java:153)
      at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.getBindStatus(AbstractDataBoundFormElementTag.java:177)
      at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.getPropertyPath(AbstractDataBoundFormElementTag.java:198)
      at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.getName(AbstractDataBoundFormElementTag.java:163)
      at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.writeDefaultAttributes(AbstractDataBoundFormElementTag.java:122)
      at org.springframework.web.servlet.tags.form.AbstractHtmlElementTag.writeDefaultAttributes(AbstractHtmlElementTag.java:459)
      at org.springframework.web.servlet.tags.form.InputTag.writeTagContent(InputTag.java:356)
      at org.springframework.web.servlet.tags.form.AbstractFormTag.doStartTagInternal(AbstractFormTag.java:86)
      at org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:83)
      at org.apache.jsp.WEB_002dINF.views.home_jsp._jspx_meth_f_005finput_005f0(home_jsp.java:239)
      at org.apache.jsp.WEB_002dINF.views.home_jsp._jspx_meth_f_005fform_005f0(home_jsp.java:190)
      at org.apache.jsp.WEB_002dINF.views.home_jsp._jspService(home_jsp.java:140)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
      at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:170)
      at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:316)
      at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370)
      at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116)
      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055)
      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998)
      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
      at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)
      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:748)
  
  Aug 27, 2019 4:29:50 AM org.apache.catalina.core.ApplicationDispatcher invoke
  SEVERE: Servlet.service() for servlet [jsp] threw exception
  java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'searchPhrase' available as request attribute
      at org.springframework.web.servlet.support.BindStatus.&lt;init&gt;(BindStatus.java:153)
      at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.getBindStatus(AbstractDataBoundFormElementTag.java:177)
      at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.getPropertyPath(AbstractDataBoundFormElementTag.java:198)
      at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.getName(AbstractDataBoundFormElementTag.java:163)
      at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.writeDefaultAttributes(AbstractDataBoundFormElementTag.java:122)
      at org.springframework.web.servlet.tags.form.AbstractHtmlElementTag.writeDefaultAttributes(AbstractHtmlElementTag.java:459)
      at org.springframework.web.servlet.tags.form.InputTag.writeTagContent(InputTag.java:356)
      at org.springframework.web.servlet.tags.form.AbstractFormTag.doStartTagInternal(AbstractFormTag.java:86)
      at org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:83)
      at org.apache.jsp.WEB_002dINF.views.home_jsp._jspx_meth_f_005finput_005f0(home_jsp.java:239)
      at org.apache.jsp.WEB_002dINF.views.home_jsp._jspx_meth_f_005fform_005f0(home_jsp.java:190)
      at org.apache.jsp.WEB_002dINF.views.home_jsp._jspService(home_jsp.java:140)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
      at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:170)
      at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:316)
      at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370)
      at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116)
      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055)
      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998)
      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
      at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)
      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:748)
  
  Aug 27, 2019 4:29:50 AM org.apache.catalina.core.StandardWrapperValve invoke
  SEVERE: Servlet.service() for servlet [dispatcher] in context with path [/trainingbroadcast] threw exception [An exception occurred processing [/WEB-INF/views/home.jsp] at line [15]
  
  12:         &lt;f:form method="POST" action="trainingSearch" modelAttribute="searchPhrase"&gt;
  13:             &lt;div class="form-group"&gt;
  14:                 &lt;label for="phrase"&gt;Search Phrase&lt;/label&gt;
  15:                 &lt;f:input type="text" id="phrase" path="phrase" class="form-control" /&gt;
  16:             &lt;/div&gt;
  17:             &lt;button type="submit" class="btn btn-primary"&gt;Search&lt;/button&gt;
  18:         &lt;/f:form&gt;
  
  
  Stacktrace:] with root cause
  java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'searchPhrase' available as request attribute
      at org.springframework.web.servlet.support.BindStatus.&lt;init&gt;(BindStatus.java:153)
      at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.getBindStatus(AbstractDataBoundFormElementTag.java:177)
      at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.getPropertyPath(AbstractDataBoundFormElementTag.java:198)
      at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.getName(AbstractDataBoundFormElementTag.java:163)
      at org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag.writeDefaultAttributes(AbstractDataBoundFormElementTag.java:122)
      at org.springframework.web.servlet.tags.form.AbstractHtmlElementTag.writeDefaultAttributes(AbstractHtmlElementTag.java:459)
      at org.springframework.web.servlet.tags.form.InputTag.writeTagContent(InputTag.java:356)
      at org.springframework.web.servlet.tags.form.AbstractFormTag.doStartTagInternal(AbstractFormTag.java:86)
      at org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:83)
      at org.apache.jsp.WEB_002dINF.views.home_jsp._jspx_meth_f_005finput_005f0(home_jsp.java:239)
      at org.apache.jsp.WEB_002dINF.views.home_jsp._jspx_meth_f_005fform_005f0(home_jsp.java:190)
      at org.apache.jsp.WEB_002dINF.views.home_jsp._jspService(home_jsp.java:140)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
      at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:170)
      at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:316)
      at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1370)
      at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1116)
      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1055)
      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998)
      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
      at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)
      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:748)
  
  </code></pre>
  
  <p>On browser</p>
  
  <pre class="lang-java prettyprint-override"><code>org.apache.jasper.JasperException: An exception occurred processing [/WEB-INF/views/home.jsp] at line [15]
  
  12:         &lt;f:form method="POST" action="trainingSearch" modelAttribute="searchPhrase"&gt;
  13:             &lt;div class="form-group"&gt;
  14:                 &lt;label for="phrase"&gt;Search Phrase&lt;/label&gt;
  15:                 &lt;f:input type="text" id="phrase" path="phrase" class="form-control" /&gt;
  16:             &lt;/div&gt;
  17:             &lt;button type="submit" class="btn btn-primary"&gt;Search&lt;/button&gt;
  18:         &lt;/f:form&gt;
  </code></pre>