I've been trying to get Codebehind
http://struts.apache.org/2.x/docs/codebehind-plugin.html
and Zero Configuration
http://struts.apache.org/2.x/docs/zero-configuration.html
to work
found that I had to make a couple of changes
if (resultsByExtension == null) {
resultsByExtension = loadResultTypes(configuration);
}
was missing from handleUnknownResult, so when using with Zero Conf
loadResutTypes is not run
also resultsByExtension is never null anyway so this code was never run
I made these 2 changes and it now works a treat...
goodbye configuration, hello convention :)
--
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)