in the html file you should set the action field of the form to the pattern
match of the xsp page in the sitemap.  The attributes you want sent from the
form when submitted will automatically be sent, all you have to do is
request them from the xsp page.  You don't have to worry about sending them
on in the sitemap.

This is how you retrieve the parameter:
String formAttribute = request.getParameter("formAttributeName");

You will also need this in your header <xsp:page>
xmlns:xsp-request="http://apache.org/xsp/request/2.0";

Hope this is of help!
Darach.

-----Original Message-----
From: Garvin Riensche [mailto:[EMAIL PROTECTED]
Sent: 25 September 2003 23:57
To: [EMAIL PROTECTED]
Subject: AW: forms and cocoon


Hi,

> Perhaps someone can help me with this:
> I have a html file with a form and i want to pass the form inputs to a xsp
> file to store the data in a database.
[....]
Please ignore - stupid mistake..

regards,
Garvin


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003


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

Reply via email to