tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: j_security_check-behaviour - looking for workaround
Date Tue, 02 Dec 2008 16:10:25 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gregor,

Gregor Schneider wrote:
> The link looks like this:
> 
> <a href="whlstt911.htm#912" target="some_inner_frame"><img
> src="../snbulletopen.gif" border="0" align="absmiddle"> Medizin</a>
> 
> As you can see, in this menue there's always the target (the inner
> frame) specified.
> 
> However, j_security_check takes the original link (in this case:
> "whlstt911.htm#912") and open this page. However, this page is not
> displayed within the inner frame but as it's very own page, so that
> everything "around" the IFrame is lost.

Hmm... you target a link into the iframe but the login screen ends up
loading in the "_top" context? Something is definitely wrong, there.
Tomcat can't control where the page is rendered, so you must have
something in your pages that puts the login page into the top of the
frameset.

If the login page displays correctly (within the iframe) but the
following page does not, then check that page.

I have a similar setup in a reporting screen (iframe within a regular
page) that works as expected (iframe displays login, after login, iframe
displays desired content, outer frame never changes).

I suspect your UI is what's tripping you up.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk1XfEACgkQ9CaO5/Lv0PBjHQCdEQg9CacVnecbZTBguB860fyh
P7wAmwdxaCEgWH69jGIu5U7N9dBrb7tp
=2PDi
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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