When I use ActionForward I supply it the Context-relative URI to which
control should be forwarded.  However, when I want to use <a href="..." I
cannot use the Context-relative URI.  Thus my returnTo= backlink works
correctly if I use it with the ActionForward, but fails to work when used
with <a href tag.

Is there a BEAN/TAG/METHOD that would convert a Context-relative URI to
something that I can use with an anchor tag?  I guess I could always call
request.getContext() and prepend that to the URI, however, this will only
work if the URI is context-relative.  In case URI is page-relative, no such
append is needed.  Is there something in JSP/Servlet/Struts that would do
these checks for me?

Thanks.
-AP_



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

Reply via email to