Mark,
Here is the latest version of my source:
package dhs.struts.action;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action ;
import org.apache.struts.action.ActionForm ;
import org.apache.struts.action.ActionMapping ;
import org.apache.struts.action.ActionForward ;
public class ORGAction extends Action {
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
return mapping.findForward( "success");
}
}
I added a mapping to my struts-config.xml file for "success". It still
doesn't work. Phooey.
/\/\ark
>From: "Galbreath, Mark" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
>Subject: RE: Really Dumb Newbie Question about Extending Action
>Date: Wed, 10 Apr 2002 10:24:16 -0400
>
>Try this as a bare minimum:
>
>package dhs.struts.action;
>
>import org.apache.struts.action.Action;
>import org.apache.struts.action.ActionForm;
>import org.apache.struts.action.ActionMapping;
>import org.apache.struts.action.ActionForward;
>
>public class ORGAction extends Action {
> public ActionForward execute(
> ActionMapping mapping,
> ActionForm form,
> HttpServletRequest request,
> HttpServletResponse response)
> throws Exception {
>
> return mapping.findForward( "success");
> }
>}
>
>Mark
>
>-----Original Message-----
>From: Struts Developer [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, April 10, 2002 9:46 AM
>To: [EMAIL PROTECTED]
>Subject: RE: Really Dumb Newbie Question about Extending Action
>
>
>Okay, here's my source:
>
>-----------------start
>package dhs.struts.action;
>
>import org.apache.struts.action.Action ;
>
>public class ORGAction extends Action { }
>
>-----------------end
>
>Mark N.
>
>
> >From: "Galbreath, Mark" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> >Subject: RE: Really Dumb Newbie Question about Extending Action
> >Date: Wed, 10 Apr 2002 09:29:39 -0400
> >
> >dunno...let's see the source of ORGAction().
> >
> >Mark
> >
> >-----Original Message-----
> >From: Struts Developer [mailto:[EMAIL PROTECTED]]
> >Sent: Wednesday, April 10, 2002 9:20 AM
> >
> >I would like to add a layer of inheritance between the
> >org.apache.struts.action.Action class and my application's Action
> >subclasses.
> >
> >IE: MyAction extends ORGAction extends Action.
> >
> >Seems simple enough, however when I set this up and run my applicaiton it
> >doesn't work. No error messages, no compile errors, no nothing. When
> >MyAction extends Action directly the application runs as expected and I
>get
> >the proper output and log messages, like so:
> >
> >TIA,
> >Mark
> >
> >--
> >To unsubscribe, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail:
> ><mailto:[EMAIL PROTECTED]>
> >
>
>
>_________________________________________________________________
>Join the world's largest e-mail service with MSN Hotmail.
>http://www.hotmail.com
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>