Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 10753 invoked by uid 500); 13 Mar 2001 22:58:15 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: struts-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 10414 invoked from network); 13 Mar 2001 22:58:11 -0000 Received: from mail.matavnet.hu (HELO matavnet.hu) (195.228.240.10) by h31.sny.collab.net with SMTP; 13 Mar 2001 22:58:11 -0000 Received: (qmail 28657 invoked from network); 13 Mar 2001 23:58:13 +0100 X-Spam-Warning: line-109-176.dial.matav.net is in the DUL Received: from line-109-176.dial.matav.net (HELO incze.incze.hu) (root@145.236.109.176) by mail.matavnet.hu with SMTP; 13 Mar 2001 23:58:13 +0100 Received: (from incze@localhost) by incze.incze.hu (8.9.3/8.9.3) id UAA26741 for struts-user@jakarta.apache.org; Tue, 13 Mar 2001 20:02:30 +0100 Date: Tue, 13 Mar 2001 20:02:29 +0100 From: Incze Lajos To: struts-user@jakarta.apache.org Subject: Re: Getting Locale from a non-struts servlet Message-ID: <20010313200229.A22758@incze.incze.hu> Mail-Followup-To: struts-user@jakarta.apache.org References: <00d301c0abc7$c34f2740$c07ba8c0@cp167008a> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from craigmcc@apache.org on Tue, Mar 13, 2001 at 09:32:25AM -0800 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I would be pleased if I would be able to specify a default local in web.xml for struts (as an init parameter). All the other ways can be late to override the system/servlet-engine default locale. (E.g. if you use the servlet container's authentication the user can enter at many different places and it is simply annoying to start every action with locale checking.) Every user sessions could inherit this value unless they override in the http header or in some programmatic way. I can't see any drawback but test the idea before applying a feature request on Bugzilla. incze