title: Get parameters of the POST request with ZK Framework
body: <p>I want to pass data from one application (Spring MVC) to another application written with ZK Framework using <strong>POST</strong> request.
  One of the parameters of the post method will be a file. Let's call it <code>id</code>.</p>
  
  <p>So, what I do have now is <strong><em>Composer</em></strong> with the following code:</p>
  
  <pre><code>public class PictureComposer extends SelectorComposer&lt;Component&gt; {
  
      @Override
      public void doAfterCompose(Component comp) throws Exception {
          super.doAfterCompose(comp);
          Execution e = Executions.getCurrent();
  
          System.out.println("post param: " + Executions.getCurrent().getParameterMap().get("id"));
  
          HttpServletRequest request = (HttpServletRequest) e.getNativeRequest();
          String idd = request.getParameter("id");
          System.out.println("id: " + idd);
      }
  }
  </code></pre>
  
  <p>And, when I try to make a <strong>POST</strong> request to this composer, <code>Executions.getCurrent().getParameterMap().get("id")</code> seems to return <code>null</code>.</p>
  
  <p>Same thing with the second approach (using <code>HttpServletRequest</code>).</p>
  
  <p>On the other hand, I get some value for <code>id</code>, when I use <strong><em>GET</em></strong> request and pass this value as a parameter in the URL. But, unfortunately, I cannot pass my file in the URL.</p>
  
  <p>So, the main question is how I can retrieve the variable from the <strong>POST</strong> request?</p>
  
  <p><strong>UPD:</strong> (for now I try to retrieve a plain string parameter, just as simplified example) My <strong><em>POST</em></strong> request looks like this:</p>
  
  <pre><code>POST /zssessentials/picture.zul HTTP/1.1
  Host: localhost:8080
  Cache-Control: no-cache
  
  ----WebKitFormBoundaryE19zNvXGzXaLvS5C
  Content-Disposition: form-data; name="id"
  
  wooooow
  ----WebKitFormBoundaryE19zNvXGzXaLvS5C
  </code></pre>