struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject [s1] ActionForward redirect to localhost loses the hostname
Date Fri, 26 Jun 2015 21:45:20 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

All,

I'm running Struts 1.3.8 (yeah, I know), and I'm having an odd
experience with certain actions.

I'll do something simple like:

  return mapping.findForward("success");

... where the "success" forward is defined like this:

    <forward name="success"
             path="/path/to/something.do"
         redirect="true" />

This has been working fine ... basically forever. For some reason
lately, when working on my own dev environment (localhost), I'll get a
response from the server like this:

302 Found
...
Location: http://webapp/path/to/something.do

i.e. completely losing the "localhost" that used to be in there.

This does not happen on all pages. I can't seem to isolate anything
that might be different about this redirect than any others.

Any clues as to what might be happening?

Thanks,
- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVjcfwAAoJEBzwKT+lPKRYaa0P/RUgp98IYrNGxKdyCO84buUT
xAhY4XouuD8qpTxwWtw/nGxhNQB2dNFThYvveTlyGITyFbV0aDBjhoc4lOqdRi4S
snZkAUbvcfwzexSKnW6U+dX1UIiSiM3s9W4ZByfYoPJyWDmN73/Lg4yXGu3lfmmc
3nkxJWEKGzmC1OTnfDbtrQGem8nITwa/Nrobbp8J1+0Nz1KgyQi1I7jM+/oi4fcq
ISHX+8+P+GKZ8O0yVutnZ/+CJ6oisuaQdB1b9gOr1IVZt7zu059KyidMQQL1OVvi
67aHAuqJ+NyOSk3BzX8FZtxIX5EeDb8ULRT9pxMjRMad5JRdzcu/PN0oOichCSv5
Nd3uHxwHdAadOLi/abq2YKWEPSQkWGBOmdNvqSqHJJK35PPRVCG7tLHqG+r9edHo
dzTihYZAyT6Lisu03z6RSVyavlxwa5wVb4lbypROewX0TRcEaDc1jOgytRROf2WA
pLzEz3CdytZU8S0Ra7QDrxOqREqt21OvKWssTsbRq0EAq9uf986MfXIgt0m+JT3o
iSKisRj+bs4CNtI68ZKoCpLs7PmcPP/plWrEGCHVXnYzlIAiILDDYmy4W/M+SpS5
NaZ0MGOfMmKiVVSAWXGbUl4VuqgwWmGoWGR+2oyYtcfbFsSHUL9uw5nEXyWQDxVy
cDOWiZOhDODH7d01ybq5
=OpHv
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message