Hi, On http://struts.apache.org/2.x/docs/release-notes-209.html, I can read : "Please help us test these brave new features. Feedback appreciated".
So, here is some feedback about Zero configuration : - the feature is pretty cool, though not much documented. For instance, it was not obvious to me what the "params" parameter meant in the @Result annotation, and I had to dig into the source code to understand that odd indexes where the keys and even ones where the values... So, a freemarker view that would return XML would be described as @Results( { @Result(name = "success", value = "/WEB-INF/views/blabla.ftl", type = FreemarkerResult.class, params = { "contentType", "text/xml" }) }) - I have been looking for a way to specify the default package, but it looks like I have to manually copy / paste the following line for my actions to use the "default" package settings : @ParentPackage("default") - And last, I am experiencing some weird problems... Basically, 9 times out of 10, everything is fine, but sometimes, for no particular reason, the @ParentPackage("default") line in my actions seem to have no effect and the zero-conf Actions use the struts provided default stack, not the one that I defined in my default package.. (either the web application boots correctly and works for its whole uptime, or it doesn't work at all. When it doesn't work, the only way to get it working it by rebooting the web application). I have absolutely no idea about the reasons that could cause that... Have you heard of anything similar before ? Regards, Sami Dalouche --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]