tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chema <demablo...@gmail.com>
Subject Re: Mysterious request edirect with value exchange
Date Tue, 20 Dec 2011 14:18:06 GMT
OK
Just for discard what is answering Chuck in another thread: a
request-specific value kept in a servlet instance field



2011/12/20  <Uwe.Hellmann@t-systems.com>:
> 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:demablogia@gmail.com]
> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message