> 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.
>
>
Not sure why you think I don't understand referer. In a struts app what you
see in the address field is the "action URL" (e.g.
http://host/MyAction.action) you don't ever see the JSP page name that
rendered the page. The OP seemed to be looking for the name of the jsp page
so don't see how this would help.

Reply via email to