struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Newfield <d...@newfield.org>
Subject Re: dynamic return when validation failed
Date Wed, 08 Jul 2009 16:57:20 GMT
Greg Lindholm wrote:
> The referer header will contain the URL of the last request, which will be
> the action URL not the jsp page that rendered the result. So this wouldn't
> help the OP if I understood his problem.

I think you misunderstand what the referer field contains.  It'll be the 
url that was displaying in the address field on the page from which the 
form was submitted.  http://en.wikipedia.org/wiki/HTTP_referrer Note 
that it can be forged, etc.

-Dale

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


Mime
View raw message