Portals (MOSC)

MOSC Banner

Form HTTP Post in Web Center Portal page using Java Script

edited May 8, 2015 9:05PM in Portals (MOSC) 5 commentsAnswered

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" />

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center