It's interesting is that the "default=true" attribute in the
<result-types> element in struts.xml doesn't seem to influence
annotation-based results specification like it does for the XML
configuration.

In XML, if I set default=true on <result-types>, I don't need to specify
a Tiles result at the action level.

But with annotations, I do need to specify the Tiles result explicitly
on each action.  A minor annoyance at worst.  

Wes


Dave Newton said:

No, I'm saying you didn't define the result type in the result
annotation. The above configuration fragment defines the tiles
result--it doesn't say to *use* it anywhere.

http://struts.apache.org/2.x/docs/result-annotation.html

The @Result annotation takes a "type" parameter.

Dave


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


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

Reply via email to