struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lowe <>
Subject Re: Another struts design question
Date Tue, 14 Feb 2006 19:32:35 GMT
On 2/14/06, Michael Jouravlev <> wrote:
> On 2/14/06, Mark Lowe <> wrote:
> > You could use the referer header to create an action forward based on
> > that value.
> "referer" field is unreliable. Can fail depending on your mix or
> forwarding/redirecting/reloading a page. It is also often removed by
> proxies/firewalls. I would not recommend using "referer" field.

Fair enough, what do you suggest as an alternative? I've used this a
few times for forwarding back to the referer and found any huge
problems. I can see how if something removed the header that could
cause problems, but cant see what would be achieved by a firewall or
proxy messing around like this would achieve.

The only other suggestion i would make if this were an issue is use
separate action mappings for each point of entry..


> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message