How to send a html form from an action

2003-01-24 Thread Johan
I try to submit a HTML FORM to an external site. I would like an Action 
to create the FORM Fields and send this form to the external site. I 
don't want de jsp-page send the form since I need to store the data from 
that form in a database before sending the data to the external site.

Is it posible to populate a Form and send it to an URL using a form?

Johan

---
Nilling Software Design
Postbus 43
2280 AA  Rijswijk ZH
w: http://www.nilling.nl
e: mailto:[EMAIL PROTECTED]


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



RE: How to send a html form from an action

2003-01-24 Thread Pani, Gourav
I don't see why not.  The Form object/DynaValidatorForm will capture the
data, the Action object can do the update to your database and then you can
set up a global-mapping to go to the ne page with hidden values in the
request.  Then it is up to the other page to get values out of your request.

-Original Message-
From: Johan [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 6:48 AM
To: [EMAIL PROTECTED]
Subject: How to send a html form from an action


I try to submit a HTML FORM to an external site. I would like an Action 
to create the FORM Fields and send this form to the external site. I 
don't want de jsp-page send the form since I need to store the data from 
that form in a database before sending the data to the external site.

Is it posible to populate a Form and send it to an URL using a form?

Johan

---
Nilling Software Design
Postbus 43
2280 AA  Rijswijk ZH
w: http://www.nilling.nl
e: mailto:[EMAIL PROTECTED]


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

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




Re: How to send a html form from an action

2003-01-24 Thread Johan
Thanx,
But I was just trying to outsmart myself and I was pretty successfull in 
it to.

Since people need to choose what paymentmethode they prefer (it was 
about sending a form to a payment system) I still need an extra page 
where the can choose and I put the hidden fields in a form.

So I run into a new problem which I have solved using basic html tags is 
that the value of the action inside an html:form or layout:form is 
changed when parsed. my action should be 
action=https://www.e-gold.com/sci_asp/payment.asp; but struts start 
complaining about it can not find 
/https://www.e-gold.com/sci_asp/payment;. It removes .asp from the 
action but in the web.xml I only send *.do to the strutsservlet???

But as I said i now just use basic html tags to solve this little 
shortcomming.

Johan

Pani, Gourav wrote:
I don't see why not.  The Form object/DynaValidatorForm will capture the
data, the Action object can do the update to your database and then you can
set up a global-mapping to go to the ne page with hidden values in the
request.  Then it is up to the other page to get values out of your request.

-Original Message-
From: Johan [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 6:48 AM
To: [EMAIL PROTECTED]
Subject: How to send a html form from an action


I try to submit a HTML FORM to an external site. I would like an Action 
to create the FORM Fields and send this form to the external site. I 
don't want de jsp-page send the form since I need to store the data from 
that form in a database before sending the data to the external site.

Is it posible to populate a Form and send it to an URL using a form?

Johan

---
Nilling Software Design
Postbus 43
2280 AA  Rijswijk ZH
w: http://www.nilling.nl
e: mailto:[EMAIL PROTECTED]


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

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






--
---
Nilling Software Design
Postbus 43
2280 AA  Rijswijk ZH
w: http://www.nilling.nl
e: mailto:[EMAIL PROTECTED]


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