code: public void jspForwardPage(CmsWorkplace wp, String pagePath, Map<String, String[]> params)
      throws IOException, ServletException {
  
          Map<String, String[]> newParams = createToolParams(wp, pagePath, params);
          if (pagePath.indexOf("?") > 0) {
              pagePath = pagePath.substring(0, pagePath.indexOf("?"));
          }
  
          wp.setForwarded(true);
          // forward to the requested page uri
          CmsRequestUtil.forwardRequest(
              wp.getJsp().link(pagePath),
              CmsRequestUtil.createParameterMap(newParams),
              wp.getJsp().getRequest(),
              wp.getJsp().getResponse());
      }
docs: Redirects to the given page with the given parameters.<p>
  
  @param wp the workplace object
  @param pagePath the path to the page to redirect to
  @param params the parameters to send
  
  @throws IOException in case of errors during forwarding
  @throws ServletException in case of errors during forwarding