Re: [Webwork-user] trying to understand factory chaining
Brought to you by:
baldree,
rickardoberg
From: Rickard <ri...@dr...> - 2002-07-07 20:13:38
|
Marc Logemann wrote: > i am having quite a hard time to fully understand your ActionFactory > chaining. >=20 > Is it correct that when using defaultActionFactory, getActionImpl() of > all defined Factories (about 11 there) will be called? Yes. > Is it also correct that some factories do some pre-processing like > settings paramters from request into the bean while others > will only do their work when your Action Bean is an instance of > some Action (like PrepareAction) ? Yes. > I am wondering how my MyAction which extends ActionSupport can also > implement prepare() of the PrepareAction Interface. Since instanceof > is used, implementing the interface wont work here. Why? > Another miracle is for example XMLActionFactoryProxy, which acts upon > a certain suffix (here .xml), am i right that when using this feature, > you must also redefine your web.xml, cause .xml requests wont > handled by webwork default web.xml. No, the URL would be something like "foo.xml.action". /Rickard --=20 Rickard =D6berg |