Passing JavaScript data values between 2 HTML pages. ... the values of those 2 to another 2 variables in the 2nd HTML page. ... get values from a form but the data ... Apr 21, 2013 · The action attribute specifies another file on your server where the form data is sent. Therefore, the actual PHP part is not run on the same page as the form (though it can be). Typically, it is run on another file. In the case above, when the user clicks submit, the form’s data is sent to the file process.php.

For sending data to two servelets make one button as a submit and the other as button.On first button send action in your form tag as normal, but on the other button call a JavaScript function here you have to submit a form with same field but to different servelets then write another form tag after first close.declare same textboxes there but ... Embedding a form Embedding the Viewer in an HTML page allows you to display forms in a portal environment or as part of a series of web pages. This permits forms to be updated dynamically in response to user selections on the HTML page.