You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/02/20 19:53:44 UTC
DO NOT REPLY [Bug 17256] New: -
The tag cannot be used with sessions disabled
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17256>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17256
The <bean:message> tag cannot be used with sessions disabled
Summary: The <bean:message> tag cannot be used with sessions
disabled
Product: Struts
Version: 1.0.2 Final
Platform: All
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: Custom Tags
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: Tarek.Nabil@itworx.com
If one disables session state in one's application. The <bean:message> tag will
give an error..
"can't access SESSION_SCOPE without an
HttpSession: java.lang.IllegalArgumentException: can't access
SESSION_SCOPE without an HttpSession"
The tag insists on looking for the Locale object in the session, and since
there's no session, it gives an exception.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org