That's not a bug, it's a usage limitation. An app that does not use sessions is considered a special case so we're not bending over backwards to support it. We realize the tag shouldn't be creating sessions but can't change it because of backward compatibility problems.

David



From: "Mitchell Morris" <[EMAIL PROTECTED]>
Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
To: "'Struts Developers List'" <[EMAIL PROTECTED]>
Subject: RE: Design clarification for locale handling
Date: Wed, 26 Feb 2003 13:16:23 -0500

That still leaves a (potential) bug, in that a page with '<%@ page
session="false"%>' and '<html:html locale="true">' will create a session. It
seems to me that HTML should respect the page and/or servlet configuration
with respect to session creation, and that checking is currently not being
done. If RequestProcessor isn't being invoked and that's allowed, then
perhaps RequestProcessor is the wrong place for the
session-creating-and-locale-setting logic ... would RequestUtils be a better
home?


i'm-often-wrong-though-ly y'rs,
+Mitchell

[snip]
> The HTML tag does its own locale-setting (and therefore
> session creation)
> because some people still set their apps up to all URLs
> directly to JSP
> pages (bypassing the controller servlet, so that the locale
> setup it does
> is also skipped).  Removing this would break the localization
> behavior of
> any app that depends on it.
>
> Craig



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


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



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



Reply via email to