Hi friends,
I am having an applet, and it has a button(say submit) to extract some dynamic data from backend system and generate a html form page with this data and then open the this newly created html form and submit it to the url mentioned in the form.
Can anyone suggest me how I can do this.
My html page file content is as below shown:
<HTML>
<HEAD>
</HEAD>
<BODY>
<FORM id='JCLCreateLetter' name='JCLCreateLetter' action='http
://20.17.17.146:9080/CCM/NBPIPostInputHandler' method='post'>
<Input Type='hidden' id='BPI' name='BPI' value='CV_PEK_online_no_comp'>
<Input Type='hidden' id='groupName' NAME='GROUPNAME' VALUE='CV_PEK_Online'>
<Input Type='hidden' id='userName' name='userName' value='CV_PEK'>
<Input Type='hidden' id='role' name='role' value='CV_PEK_online_pgm'>
<Input Type='hidden' id='xmlRecords' name='xmlRecords' value='<Record01><CompanyId>PEK</CompanyId><CnvLetterId> </CnvLetterId><AlphaProcessDte>JUNE 24, 2009</AlphaProcessDte></Record01>'</FORM>
<SCRIPT LANGUAGE="JAVASCRIPT">
<!--
document.forms["JCLCreateLetter"].submit()
-->
</script>
</BODY>
</HTML>