Greg Ritter <[EMAIL PROTECTED]> writes:
> ...
> <html:link forward="close"><html:img border="0"
> page="/images/close.gif"/></html:link>
> ...
>
> I would like to be able to specify a local forward for each action in
> struts-config.xml:
How should the jsp-page know, from which action it comes from ?
> ...
> <action path="/secure/viewUsers"
> type="com.edifecs.thermonuclear.action.ViewUsersAction"
-------------
rather long package name.
> Does anyone have any suggestions on an elegant way to do something
> similar to this?
You build your own custom tag
extending LinkTag which takes benefit from the request-attribute named
Action.MAPPING_KEY to find the local forward.
cu...
--
...roland huss
consol.de