Hi Matthew,

Thinking about this a little more and looking at the actual form action
URL that is generated by action="<%= (String)
request.getAttribute("url") %>" it occurred to me that you could simply
replace the action attribute when the form is posted to be the current

I have tested this using the normal /nidp/app/login? uri. Note sure how
it would behave if your going via sso.

Anyhow, you can see it in action here:


I used this code to swap the action attribute on form submission:

<script type="text/javascript">
function form_submit(){

<!-- force form action to current url to preserve query
parameters after failed logins -->
document.getElementById('IDPLogin').action = document.URL;


Happy for someone from NetIQ to comment on this re supportability.

Hope that helps


rtruscot's Profile: https://forums.netiq.com/member.php?userid=293
View this thread: https://forums.netiq.com/showthread.php?t=48362