Hi,
My struts-config looks like :
struts-config
global-forwards
forward name=error path=/doError.do /
/global-forwards
action-mappings
action path = /doError scope=request
type=com.orange.struts.actions.ErrorAction
forward name=success path=/error.jsp contextRelative=true/
You go from one action to another action by requestdispatcher ..thus
request.getRequestURI() will not serve your purpose
One solution is you can read request header Referer in /doerror.do
Now, above header is optional.
Or else , you may set request.setAttribute in /doNews.do which you
can read
2 matches
Mail list logo