code: private String getSearchPageLink(String link) {
  
          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);
              }
              String formurl = new StringBuffer(m_searchRessourceUrl).append(pageParams).toString();
              toPostParameters(formurl);
  
              link = new StringBuffer("javascript:document.forms['").append("form").append(m_formCache.size() - 1).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)
  @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