Re: No action instance for path-only with sub-sub-class of Action

2002-01-20 Thread Ted Husted

Something is misfiring when the ActionServlet attempts to create an
instance of the subclassed Actions. If the log detail is no help, you
may need to start over, and add the helper methods one-by-one to uncover
where the initilization error is occuring. 

There is nothing wrong with the approach -- I do this sort of thing all
the time. 



-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Building Java web applications with Struts.
-- Tel +1 585 737-3463.
-- Web http://www.husted.com/struts/

Kelly Davis wrote:
> 
> I have created a class called DefaultAction which extends Action. It
> contains some common helper methods which all my actions will use. I
> then extend DefaultAction for my actual action fooAction. When I do this
> I get 'No action instance for path /foo could be created'. Now, when I
> extend Action directly instead of using DefaultAction, I don't get the
> error. This confirms to me that my struts-config.xml is setup correctly.
> Doesn't anybody know why this is happening?
> 
> --
> Kelly Lawrence Davis
> [EMAIL PROTECTED]
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




No action instance for path-only with sub-sub-class of Action

2002-01-16 Thread Kelly Davis

I have created a class called DefaultAction which extends Action. It
contains some common helper methods which all my actions will use. I
then extend DefaultAction for my actual action fooAction. When I do this
I get 'No action instance for path /foo could be created'. Now, when I
extend Action directly instead of using DefaultAction, I don't get the
error. This confirms to me that my struts-config.xml is setup correctly.
Doesn't anybody know why this is happening?

-- 
Kelly Lawrence Davis
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   
For additional commands, e-mail: