Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 99504 invoked by uid 500); 12 Jun 2001 08:58:00 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 99483 invoked from network); 12 Jun 2001 08:57:58 -0000 Sender: mx2@dais.cro.st.com Message-ID: <3B25D8CA.BD7F3650@st.com> Date: Tue, 12 Jun 2001 10:54:34 +0200 From: Xavier MACHENAUD X-Mailer: Mozilla 4.75 [en] (X11; U; SunOS 5.5.1 sun4u) X-Accept-Language: en MIME-Version: 1.0 Cc: cocoon-users@xml.apache.org Subject: [C1] Posting parameters to a servlet References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Using C1, I can call a servlet passing parameters with an HTTP GET using the following code : "http:///?" + "techno=" + request.getParameter("techno") + "&" + "volt=" + request.getParameter("volt") + "&" + "arch=" + request.getParameter("arch") + "&" + "words=" + request.getParameter("words") + "&" + "bits=" + request.getParameter("bits") + "&" 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. To unsubscribe, e-mail: For additional commands, e-mail: