Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 12914 invoked by uid 500); 22 Aug 2001 16:17:18 -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 12880 invoked from network); 22 Aug 2001 16:17:17 -0000 Received: from ucles.ucles.org.uk (HELO ucles.org.uk) (@192.149.119.11) by h31.sny.collab.net with SMTP; 22 Aug 2001 16:17:17 -0000 Received: from mail3.ucles.org.uk ([128.60.3.50]) by fs-fire.ucles.org.uk with ESMTP id <115211>; Wed, 22 Aug 2001 17:15:06 +0100 Received: from mail3.ucles.org.uk (unverified) by mail3.ucles.org.uk (Content Technologies SMTPRS 4.1.2) with ESMTP id for ; Wed, 22 Aug 2001 17:17:04 +0100 Received: by MAIL3 with Internet Mail Service (5.5.2653.19) id ; Wed, 22 Aug 2001 17:17:04 +0100 Message-ID: <0B0368CED76DD4118E1200D0B73E9B5D024804DB@MAIL1> From: Ben Jessell To: "'struts-user@jakarta.apache.org'" Subject: web.XML - lookup values? Date: Wed, 22 Aug 2001 17:17:14 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Slightly off-subject, but does anyone know how you can define values in xml and then look them up in your actionForm? Or if it can't be done in web.xml, how about application.properties? Basically, I want to format a date according to a time format string eg, "dd, MMM, yyyy hh:mm". However, I want to be able to configure this via a setting. I'd imagine there'd be something in web.xml like myTimeFormatVar java.lang.String "dd, MMM, yyyy hh:mm failing that, can I do it in JDNI? Thanks -b =********************************************************** If you are not the intended recipient, employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination or copying of this communication and its attachments is strictly prohibited. If you have received this communication and its attachments in error, please return the original message and attachments to the sender using the reply facility on e-mail. Internet communications are not secure and therefore the UCLES Group does not accept legal responsibility for the contents of this message. Any views or opinions presented are solely those of the author and do not necessarily represent those of the UCLES Group unless otherwise specifically stated. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses although this does not guarantee that this email is virus free. **********************************************************=