Filippo Munafò wrote:
[snip]

Craig said:



Along the same lines, one of the things we did in JavaServer Faces (with regards
to configuration) is to have the controller servlet automatically recognize
"META-INF/faces-config.xml" resources in any JAR files that were included in
the application. This makes it very easy to package a module, or some other
sub-unit of an overall webapp, as a single JAR file that self-configures.



Why it is so in JSF and could not be in Struts?


It can, but we need to resolve the issue of how autoconfiguration relates to modules (something that JSF didn't have to deal with, because JSF does not have any such concept).

Ideally, we'd have a way to make this association without the configuration file inside the JAR needing to know what module(s) it belongs to. That's a part of the problem that needs more exploring.


Filippo


Craig



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



Reply via email to