code: public static void forwardRequest(String target, HttpServletRequest req, HttpServletResponse res)
      throws IOException, ServletException {
  
          // clear the current parameters
          CmsUriSplitter uri = new CmsUriSplitter(target);
          Map<String, String[]> params = createParameterMap(uri.getQuery());
          forwardRequest(uri.getPrefix(), params, req, res);
      }
docs: Forwards the response to the given target, which may contain parameters appended like for example <code>?a=b&amp;c=d</code>.<p>
  
  Please note: If possible, use <code>{@link #forwardRequest(String, Map, HttpServletRequest, HttpServletResponse)}</code>
  where the parameters are passed as a map, since the parsing of the parameters may introduce issues with encoding
  and is in general much less effective.<p>
  
  The parsing of parameters will likely fail for "large values" (e.g. full blown web forms with &lt;textarea&gt;
  elements etc. Use this method only if you know that the target will just contain up to 3 parameters which
  are relatively short and have no encoding or line break issues.<p>
  
  @param target the target to forward to (may contain parameters like <code>?a=b&amp;c=d</code>)
  @param req the request to forward
  @param res the response to forward
  
  @throws IOException in case the forwarding fails
  @throws ServletException in case the forwarding fails