DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11021>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11021

ActionForward or <html:link> tag does not support absolute URIs





------- Additional Comments From [EMAIL PROTECTED]  2002-11-18 03:36 -------
Now I'm not sure if this has been fixed in the nightly build...

If I define a forward such as 
<forward   name="blah.someling" 
           contextRelative="true"
           path="/somepath/somepath"/>

There will be two different behaviours depending on whether use that forward
from the requestprocessor or if i use the <html:link>. If the forward is
accessed through the request processor the link is left untouched (unless its a
redirect!) whereas if its used with a link tag the context path is prepended if
the url starts with a /

this is due to requestProcessor only calling RequestUtils.forwardURL and the
link tag calling computeURL which prepends the context to URL's without the /
and then calls forwardURL.

I also want to put any absolute links I use into struts-config so all my links
are in the one file and then use <html:link> to look up the forward. This seems
like a good thing to do but currently the only way to do it is to define an
actionforward with contextRelative='true' which is an improper useage of the
attribute.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to