-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pablo,

John Doe [Pablo] wrote:
> I have configured a tomcat application to use https in a arbitrary
> jsp file (just for testing) when the user request it.

[snip]

>        <h1>Index test</h1>
>        <a href="ssl/restricted.jsp">Go to SSL page</a>

[snip]

>        <h1>Restricted test</h1>
>        <a href="../index.jsp">Back to index</a>

[snip]

> The "problem" is: when I go from "index.jsp" to "restricted.jsp"
> the URL gets replaced (correctly) by
> "https://localhost:8443/testSSL/restricted.jsp";

Right. This is due to the fact that you require this page to have
CONFIDENTAL transport.

> when I want to
> go from "restricted.jsp" back to "index.jsp" using the anchor defined
> in it the URL is not replace by the standard "http" URL and then gets
> stuck with a "https://localhost:8443/testSSL/index.jsp"; URL instead of
> the original "http://localhost:8080/testSSL/index.jsp";

Right. This is because the current protocol is "https" and the browser
is not being instructed to switch protocols. You will have to manually
code your URLs that should return to non-https pages to include the
protocol in the URL.

Yes, this is kind of a pain in the neck. ;)

- -chris

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

iD8DBQFFnBKr9CaO5/Lv0PARAn2iAJ9yYfxZNAU1kXybW5a4nMEjRnsvjACgp8A5
qdPM7DB29983guFlj2evcFk=
=0Drn
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to