-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ivo,
On 7/13/2009 2:28 PM, Ivo Silva wrote: > I cannot use a request parameter because the "legacy" application is > inside an iframe. > If I passed it as a request parameter in the iframe it would only work > the first time, because once you click a link inside the iframe the > parameter wouldn't be there. Hmm... what about deploying a separate application into a sub-URI of your main application. Something like this: mainapp.war -> /mainApp legacy.war -> /mainApp/X legacy.war -> /mainApp/Y legacy.war -> /mainApp/Z This will actually give you separate sessions and getContextPath will always work correctly, even when called from the legacy webapp. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkpbhAkACgkQ9CaO5/Lv0PAdJQCfdEJuPGVinHBl76jaQA9bNaRV nPQAn0R2Ip3/S19j5Xyoa4lyA0c0Y/Gz =2hKX -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org