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

Lloyd,

DIGLLOYD INC wrote:
| My pages all use relative links eg "..", "./", etc.  So this works
| ***when the page being included is in the same directory**.
|
| But when the include page is in another directory, none of the relative
| links work.  None of these variants do the right thing; any referenced
| images cannot be found.
|
| <%@ include  file="../ReviewInfo.html" %>
| <jsp:include file="../ReviewInfo.html" %>
| <jsp:forward page="../some-other-page.html" />

This is a very weird way to do things. You should either generate
content /or/ forward. Why are you doing both?

Instead of using a forward, why not do a redirect? That way, the new
request has the correct URL and your relative paths should be correct.

- -chris

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

iEYEARECAAYFAkgSOW4ACgkQ9CaO5/Lv0PCZtgCgwMQ2Nq53WFJV1qA2UtOVT62P
aroAoLf5WOFn4FKM/4PN1TtFukZPSUkI
=/4tC
-----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