Using C1, I can call a servlet passing parameters with an HTTP GET using
the following code :

  <util:include-uri>
    <util:href>
      <xsp:expr>
        "http://<server>/<servlet-uri>?" +
        "techno=" + request.getParameter("techno") + "&amp;" +
        "volt="   + request.getParameter("volt")   + "&amp;" +
        "arch="   + request.getParameter("arch")   + "&amp;" +
        "words="  + request.getParameter("words")  + "&amp;" +
        "bits="   + request.getParameter("bits")   + "&amp;"
      </xsp:expr>
    </util:href>
  </util:include-uri>

I can then transform the returned XML data to present it to the user.


But how can I do the same thing but passing parameters with an HTTP
POST?
I need this to be able to send a file to a servlet.

Thanks.

Xavier

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to