You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Adolfo Miguelez <pe...@hotmail.com> on 2003/08/04 10:16:52 UTC
specifing subclass of forward in just one place
Hi All,
we would like to make every single forward in our app to extend from a
AppForward. In such a way we would like to configure this in just one single
place in the config files rather that for every forward.
We know that it could be done for global forwards as:
<global-forwards type="com.path.AppForward">
<forward name="home" path="/app/login.jsp"/>
<forward name="failure" path="/app/failure.jsp"/>
</global-forwards>
but for local forwards, we do not find any other solution that:
<forward name="success" path="/userTask.do"
className="com.path.AppForward"/>
and this makes maintainance more difficult and struts-config size
increasing.
Is there any parameter in the config files where the forward could be
specified for the whole app?
Thanks in advance,
Adolfo.
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org