tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ognjen Blagojevic <ogn...@etf.bg.ac.yu>
Subject Re: FORM login, would like error page same as login page
Date Thu, 15 Nov 2007 14:35:55 GMT
Wilhelmsen Tor Iver wrote:
> to see what the real URL is when you expect it to use the error page;
> most likely that will be the URL of the resource that triggered the
> authentication in the first place.

Yes, the url returned is

   http://localhost:8080/myapp/j_security_check

So the parameters were lost. :(


> I guess the best solution would be to use .jsp extension instead, and
> pick up the parameter value from the request in Java code instead of
> Javascript.

...and that works perfect. Thank you, Tor Iver. :)

Regards,
Ognjen


---------------------------------------------------------------------
To start a new topic, e-mail: users@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