Hello,
Shortly after I sent this message, I realized that my understanding of the
order in which the ActionFactoryProxies are executed was backwards (or
upside down).
Bill Burton wrote:
>
> It looks like I could copy DefaultActionFactory adding my own
> PageLookupFactory that looked for the suffix I'm using (similar to
> JspActionFactoryProxy or ScriptFactoryProxy). However, I'd like my
> factory to run before JavaActionFactory because it will almost always fail
> because most of the actions would be pages. But since there's no
> JavaActionFactoryProxy, it looks like I'll have to modify
> JavaActionFactory to extend ActionFactoryProxy instead.
So the logical place for my PageLookupActionFactoryProxy might be like
this:
...
factory = new XMLActionFactoryProxy(factory);
factory = new PageLookupActionFactoryProxy(factory);
factory = new PrefixActionFactoryProxy(factory);
...
Now that I understand the action factory proxy delegation more accurately,
I'll probably use this approach. However, I'm still open to suggestions
...
To help others avoid falling into the trap I made, I'm working on a patch
to update the javadoc for most all the action factory classes.
Also, someone suggested I try using a servlet 2.3 filter. Unfortunately,
I can't because this application will be deployed at the end of this month
on JRun 3.1 which is only version 2.2 compliant. Even if JRun 4.0 was
released Monday, it won't likely be supported by the third party product
on which this application is based any time soon :( .
Thanks,
-Bill
_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user