You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Heath Chiavettone <HC...@ariba.com> on 2002/03/29 22:49:00 UTC

ActionForward Q for Struts 1.1 gurus

We have a resource management scheme that will take a relative pathed
resource, and for a particular user (based on some session variables) will
resolve this relative pathed resource into an absolute resource (i.e. if the
user belongs to "ACME" company, we will resolve the resource
jsp/SomePage.jsp into /brands/acme/jsp/SomePage.jsp).   I want to be able to
define my <forward> definitions as relative paths, and somehow insert our
resource manager in between the returning of the (relative) ActionForward
from the Action.execute() call and the actual RequestDispatcher "forwarding"
mechanism.  The only bit of information I would need to be able to resolve
the resource is the HttpServletRequest.

 

Is this scheme even possible in Struts 1.1?

If not, is there an alternate to this that doesn't involve me having
forwards for every possible configuration?

 

Thanks,

Heath