Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

html form submit using <af: form> tag

918575Oct 31 2012 — edited Oct 31 2012
Hi,

I want to convert following simple html/ jsp login page code into adf for OAM integration:

<% String reqId = request.getParameter("request_id"); %>

<html>
<form action="http://<OAM server>/auth_cred_submit" method="post">
User Name <input type="text" name ="username" />
Password <input type="password" name ="password" />
<input name="request_id" value="<%=reqId%>" type="hidden">
</form>
</html>


Here I want to read one (POST) request parameter from request and pass the same to OAM server url with username and password.

As scriptlets are not allowed in jspx page I thought of using <af: form> tag with defaultCommand as id of af:goButton where destination is my oam server url.

But it is not working, it is sending GET request without any parameters.

Any suggestions?

Thanks,
Minal
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 28 2012
Added on Oct 31 2012
3 comments
413 views