html form submit using <af: form> tag
918575Oct 31 2012 — edited Oct 31 2012Hi,
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