code: private String getSearchPageLink(String link, CmsSearch search) {
  
          if (m_searchRessourceUrl != null) {
              // for the form to generate we need params.
              String pageParams = "";
              int paramIndex = link.indexOf('?');
              if (paramIndex > 0) {
                  pageParams = link.substring(paramIndex);
              }
              StringBuffer formurl = new StringBuffer(m_searchRessourceUrl);
              if (m_searchRessourceUrl.indexOf('?') != -1) {
                  // the search page url already has a query string, don't start params of search-generated link
                  // with '?'
                  pageParams = new StringBuffer("&").append(pageParams.substring(1)).toString();
              }
              formurl.append(pageParams).toString();
              String formname = toPostParameters(formurl.toString(), search);
  
              link = new StringBuffer("javascript:document.forms['").append(formname).append("'].submit()").toString();
          }
          return link;
      }
docs: Returns the resource uri to the search page with respect to the
  optionally configured value <code>{@link #setSearchRessourceUrl(String)}</code>
  with the request parameters of the given argument.<p>
  
  This is a workaround for Tomcat bug 35775
  (http://issues.apache.org/bugzilla/show_bug.cgi?id=35775). After it has been
  fixed the version 1.1 should be restored (or at least this codepath should be switched back.<p>
  
  @param link the suggestion of the search result bean ( a previous, next or page number url)
  @param search the search bean
  
  @return the resource uri to the search page with respect to the
  optionally configured value <code>{@link #setSearchRessourceUrl(String)}</code>
  with the request parameters of the given argument