My guess would be it's because the absolute default for default results is undefined, it's just that many people include struts-default.xml in their config which defines ServletDispatcherResult with default set to true and thus it becomes the global default.

Musachy Barroso wrote:
I am guessing(wild guess) it is somehow related to REST.(output xml, json etc)

musachy

On Thu, Jun 12, 2008 at 10:55 AM, dusty <[EMAIL PROTECTED]> wrote:
+1 for identical default behavior between XML and Annotations.

Mr. Don, do you remember why you came up with the NullResult?

-D

James Holmes-2 wrote:
Not sure why there is a difference. Perhaps there's good reason? But if
not,
I'm in favor of consistency and making things the same.

Good catch.

On Thu, Jun 12, 2008 at 8:31 AM, Al Sutton <[EMAIL PROTECTED]> wrote:

Is there any reason why the default result type in struts.xml is
ServletDispatcherResult, but in Zero-Conf the default for @Result is
NullResult?

Wouldn't it make life easier for newcomers to have the defaults the same
for struts.xml and Zero-Conf?

Al.

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


--
View this message in context: 
http://www.nabble.com/Defaults-for-results-tp17798824p17802029.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
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