It is a webformular.
The java code should this fragment.
final String username = req.getParameter("username");
String uParam = "";
if (StringUtils.isBlank(username) == false) {
uParam = "&u=".concat(username);
}
logonFilter.setLoginFailedUrl("/action?login_error=1".concat(uParam));
-----Ursprüngliche Nachricht-----
Von: Chema [mailto:[email protected]]
Gesendet: Dienstag, 20. Dezember 2011 15:04
An: Tomcat Users List
Betreff: Re: Mysterious request edirect with value exchange
>> This result is as expected, but from time to time we saw the
>> following URL string returned
>> http://mytestsystem/login.action?login_error=1&u=OtherUser although
>> we sent the form with Tester as value away. But now in the input
>> field it is also OtherUser set.
One question
How the returned URL is built ? Where is stored username ?
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]