Form HTTP Post in Web Center Portal page using Java Script
Hi Experts,
I am using Web Center portal 11.1.1.8.0, Web Logic 10.3.6, JDev - 11.1.1.7.0
I am migrating/rebuilding a Portal from 10g to 11g using new Web Center portal framework.
One of the existing portal page has a form which submits HTTP POST request using Java Script on the click of hyperlinks on the HTML page. Below is the code for the same:
<head>
<script language="javascript">
function doIt(a) {
document.form1.SUBMIT.value=a
document.form1.submit()
}
</script>
</head>
<body>
<form name="form1" method="post" action="http://ipims.<company name>.com/cgi-bin/post"
enctype="application/x-www-form-urlencoded">
<input type="hidden" name="SUBCALL" value="*ICI.GET.ORA.RPTS.11I.10G" />