struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nils-Helge Garli Hegvik" <>
Subject Re: [S2] ServletDispatcherResult (dispatcher) and forwarding to Actions
Date Tue, 16 Dec 2008 07:41:17 GMT
> The getter-method for the referer property returns something like
> "http://localhost:9001/welcome.action", cos the search-form is included in
> my welcome-page. I've got the feeling, that Tomcat's ApplicationDispatcher
> makes some request string modifications in accordance to the servlet context
> path.
> The location after creating the dispatcher is
> "//http:/localhost:9001/welcome.action". An obviously complete useless URI.

According to the servlet specification, the path to the request
dispatcher must be relative to the root of the servlet context,
starting with the '/' character, so an absolute url won't work.


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

View raw message