Register / Login
Win a copy of
Murach's Python Programming
this week in the
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
JSF page showing old login URL action
posted 8 years ago
I have a login.jsp page that captures expired passwords as an Exception in a scriplet. If an exception is thrown the scriplet performs a:
RequestDispatcher dispatcher = request.getRequestDispatcher("change_password.jsf"); dispatcher.forward(request, response);
This does bring back the change_password.jsp page but the URL is still showing the action from the login.jsp page:
<form id="LoginForm" action="j_security_check" method="POST">
The change password page is using
<h:form id="ChangePasswordForm" >
and I can't overide it there with a new action
Has anyone run into this issue before and have a solution?
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
accessing input text field in controller class
Duplicate Component ID found in view
what is the diff between tomcat 4.1 and 6.0