struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nils-Helge Garli Hegvik" <nil...@gmail.com>
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.

Nils-H

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


Mime
View raw message