在一个页面上,用火狐firefox点右键看页面信息,
有个address和一个Referring url两个参数.
有时是一样有时不一样.
比如
address是http://localhost:8080/test/diseaseother.do
Referring url却是http://localhost:8080/test/diseaseother.do?method=load&pid=7550000347
我用location.href只能获取到address的值,而不能获取到Referring url的值
我现在要获取到Referring url的值
期待大家帮忙
------解决方案--------------------
String strLocation = request.getHeader( "Referer ");???
------解决方案--------------------
<html:base/>