Peter.

1. I would imagine so if you extend the class and call super.execute() to
get the end result, you could then do your own processing.

2. This small piece of functionality could have been written and tested in
under a minute.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 27 June 2005 14:45
To: user@struts.apache.org
Subject: Extending ForwardAction

Hi all!

Here a question from a newbie:

Is it possible to extend the ForwardAction class to add some functionality
chained to the forward?
My struts-config entry would look like this:

<action input="/login.jsp" name="loginForm" path="/viewstartpage"
parameter="/startpage.jsp" scope="request"
  type="mypackage.MyForwardAction" validate="false"/>

Does Struts recognize that MyForwardAction extends ForwardAction so that is
uses the parameter-attribute?

Peter

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


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

Reply via email to