From struts-user-returnnrice@example.net Tue Apr 01 09:13:31 2003 Return-Path: <struts-user-returnnrice@example.net> Delivered-To: nrice@example.net Received: (qmail 69502 invoked from network); 1 Apr 2003 09:13:30 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 09:13:30 -0000 Received: (qmail 18852 invoked by uid 97); 1 Apr 2003 09:15:30 -0000 Delivered-To: nrice@example.net Received: (qmail 18845 invoked from network); 1 Apr 2003 09:15:30 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Apr 2003 09:15:30 -0000 Received: (qmail 67633 invoked by uid 500); 1 Apr 2003 09:12:59 -0000 Mailing-List: contact nrice@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:nrice@example.net> List-Subscribe: <mailto:nrice@example.net> List-Help: <mailto:nrice@example.net> List-Post: <mailto:nrice@example.net> List-Id: "Struts Users Mailing List" <struts-user.jakarta.apache.org> Reply-To: "Struts Users Mailing List" <nrice@example.net> Delivered-To: mailing list nrice@example.net Received: (qmail 67621 invoked from network); 1 Apr 2003 09:12:59 -0000 Received: from rpaore1.cgey.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 09:12:59 -0000 Received: from octopus.cgey.com (OCTOPUS [83.161.120.155]) by rpaore1.cgey.com (8.12.1/8.11.3) with ESMTP id h319AKKA028670 for <nrice@example.net>; Tue, 1 Apr 2003 11:10:20 +0200 (MEST) Received: from pasteur2.capgemini.fr ([83.161.120.155]) by octopus.cgey.com (8.12.6/8.12.6) with ESMTP id h319D6ud021812 for <nrice@example.net>; Tue, 1 Apr 2003 11:13:07 +0200 (MEST) Received: from pasteur.capgemini.fr (localhost [83.161.120.155]) by pasteur2.capgemini.fr (8.12.6/8.12.6) with ESMTP id h319FYef025848 for <nrice@example.net>; Tue, 1 Apr 2003 11:15:34 +0200 (MEST) Received: from vasnmail.telecom.capgemini.fr ([83.161.120.155]) by pasteur.capgemini.fr (8.12.6/8.12.6) with SMTP id h319FYOQ025840 for <nrice@example.net>; Tue, 1 Apr 2003 11:15:34 +0200 (MEST) Received: from I20025205 by vasnmail.telecom.capgemini.fr (SMI-8.6/SMI-SVR4) id LAA09554; Tue, 1 Apr 2003 11:14:15 +0200 Message-ID: <nrice@example.net> From: "Nicolas De Loof" <nrice@example.net> To: "Struts Users Mailing List" <nrice@example.net> References: <nrice@example.net> <nrice@example.net> <nrice@example.net> <nrice@example.net> Subject: localize messages in JSP without session Date: Tue, 1 Apr 2003 11:12:27 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On logon.jsp I would like messages to be localized. AFAIK to do this with Struts I have to put this tags : <html:html locale="true"> <bean:message key="logon.welcome" /> ... </html:html> This tags use a Locale objet stored in session scope. My boss doesn't want this logon JSP to create a new session to limit memory usage. Is they're a way to use Struts i18n with a REQUEST scoped Locale or something like this ? Do you thing it could be an interseting enhancement for future versions ? Nico. --------------------------------------------------------------------- To unsubscribe, e-mail: nrice@example.net For additional commands, e-mail: nrice@example.net From struts-user-returnnrice@example.net Tue Apr 01 09:36:23 2003 Return-Path: <struts-user-returnnrice@example.net> Delivered-To: nrice@example.net Received: (qmail 83710 invoked from network); 1 Apr 2003 09:36:23 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 09:36:23 -0000 Received: (qmail 19152 invoked by uid 97); 1 Apr 2003 09:38:23 -0000 Delivered-To: nrice@example.net Received: (qmail 19145 invoked from network); 1 Apr 2003 09:38:23 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Apr 2003 09:38:23 -0000 Received: (qmail 81711 invoked by uid 500); 1 Apr 2003 09:35:51 -0000 Mailing-List: contact nrice@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:nrice@example.net> List-Subscribe: <mailto:nrice@example.net> List-Help: <mailto:nrice@example.net> List-Post: <mailto:nrice@example.net> List-Id: "Struts Users Mailing List" <struts-user.jakarta.apache.org> Reply-To: "Struts Users Mailing List" <nrice@example.net> Delivered-To: mailing list nrice@example.net Received: (qmail 81699 invoked from network); 1 Apr 2003 09:35:51 -0000 Received: from mrburns.nildram.co.uk (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 09:35:51 -0000 Received: from DevBox.skullboxhouse (unknown [83.161.120.155]) by mrburns.nildram.co.uk (Postfix) with ESMTP id DABD61D6AB0 for <nrice@example.net>; Tue, 1 Apr 2003 10:36:01 +0100 (BST) From: Stephen Smithstone <nrice@example.net> To: nrice@example.net Subject: OJB Deployment With Sturts 1.1rc1 Date: Tue, 1 Apr 2003 10:37:34 +0100 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <nrice@example.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Any one using the ojb stuff ?? which jar files do i need to deploy with my struts app i have trouble when i include the xercesImpl.jar and xml-apis.jar in my struts app /WEB-INF/lib folder the struts actionservelet throws up some nasty java.lang.VerfiyError upon loading of tomcat any help Ta Stephen --------------------------------------------------------------------- To unsubscribe, e-mail: nrice@example.net For additional commands, e-mail: nrice@example.net From struts-user-returnnrice@example.net Tue Apr 01 09:41:52 2003 Return-Path: <struts-user-returnnrice@example.net> Delivered-To: nrice@example.net Received: (qmail 91931 invoked from network); 1 Apr 2003 09:41:52 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 09:41:52 -0000 Received: (qmail 19240 invoked by uid 97); 1 Apr 2003 09:43:52 -0000 Delivered-To: nrice@example.net Received: (qmail 19233 invoked from network); 1 Apr 2003 09:43:52 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Apr 2003 09:43:52 -0000 Received: (qmail 90167 invoked by uid 500); 1 Apr 2003 09:41:30 -0000 Mailing-List: contact nrice@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:nrice@example.net> List-Subscribe: <mailto:nrice@example.net> List-Help: <mailto:nrice@example.net> List-Post: <mailto:nrice@example.net> List-Id: "Struts Users Mailing List" <struts-user.jakarta.apache.org> Reply-To: "Struts Users Mailing List" <nrice@example.net> Delivered-To: mailing list nrice@example.net Received: (qmail 90152 invoked from network); 1 Apr 2003 09:41:29 -0000 Received: from unknown (HELO testmymail) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 09:41:29 -0000 Received: from makmal.net ([83.161.120.155]) by testmymail (8.12.7/8.11.6) with SMTP id h319fsfU003764 for <nrice@example.net>; Tue, 1 Apr 2003 17:41:54 +0800 (SGT) Message-ID: <nrice@example.net> Date: Tue, 01 Apr 2003 17:47:26 +0800 From: Kwok Peng Tuck <nrice@example.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Struts Users Mailing List <nrice@example.net> Subject: Re: OJB Deployment With Sturts 1.1rc1 References: <nrice@example.net> In-Reply-To: <nrice@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Shouldn't the xercesImpl.jar and xml-apis.jar be in $CATALINA_HOME/common/endorsed ? Stephen Smithstone wrote: >Any one using the ojb stuff ?? which jar files do i need to deploy with my >struts app i have trouble when i include the xercesImpl.jar and xml-apis.jar >in my struts app /WEB-INF/lib folder the struts actionservelet throws up some >nasty java.lang.VerfiyError upon loading of tomcat > >any help > >Ta >Stephen > >--------------------------------------------------------------------- >To unsubscribe, e-mail: nrice@example.net >For additional commands, e-mail: nrice@example.net > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: nrice@example.net For additional commands, e-mail: nrice@example.net From struts-user-returnnrice@example.net Tue Apr 01 09:49:26 2003 Return-Path: <struts-user-returnnrice@example.net> Delivered-To: nrice@example.net Received: (qmail 2378 invoked from network); 1 Apr 2003 09:49:25 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 09:49:25 -0000 Received: (qmail 19332 invoked by uid 97); 1 Apr 2003 09:51:26 -0000 Delivered-To: nrice@example.net Received: (qmail 19325 invoked from network); 1 Apr 2003 09:51:26 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Apr 2003 09:51:26 -0000 Received: (qmail 558 invoked by uid 500); 1 Apr 2003 09:49:03 -0000 Mailing-List: contact nrice@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:nrice@example.net> List-Subscribe: <mailto:nrice@example.net> List-Help: <mailto:nrice@example.net> List-Post: <mailto:nrice@example.net> List-Id: "Struts Users Mailing List" <struts-user.jakarta.apache.org> Reply-To: "Struts Users Mailing List" <nrice@example.net> Delivered-To: mailing list nrice@example.net Received: (qmail 541 invoked from network); 1 Apr 2003 09:49:03 -0000 Received: from mirapoint3.brutele.be (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 09:49:03 -0000 Received: from TOM.cornet.name (83.161.120.155.brutele.be [83.161.120.155]) by mirapoint3.brutele.be (Mirapoint Messaging Server MOS 3.3.2-CR) with ESMTP id ANF84002; Tue, 1 Apr 2003 11:49:13 +0200 (CEST) Message-Id: <nrice@example.net> X-Sender: nrice@example.net (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 01 Apr 2003 11:49:14 +0200 To: "Struts Users Mailing List" <nrice@example.net> From: Thomas CORNET <nrice@example.net> Subject: Re: OJB Deployment With Sturts 1.1rc1 In-Reply-To: <nrice@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm using OJB 0.9.8 with Struts 1.1 rc1, and the only jars I've included in my WEB-INF/lib are 'jakarta-ojb-0.9.8.jar', 'jakarta-ojb-0.9.8-junit.jar' and 'jdbc2_0-stdext.jar'. I had no problems with that config for the moment. Thomas At 11:37 01/04/2003, you wrote: >Any one using the ojb stuff ?? which jar files do i need to deploy with my >struts app i have trouble when i include the xercesImpl.jar and xml-apis.jar >in my struts app /WEB-INF/lib folder the struts actionservelet throws up some >nasty java.lang.VerfiyError upon loading of tomcat > >any help > >Ta >Stephen > >--------------------------------------------------------------------- >To unsubscribe, e-mail: nrice@example.net >For additional commands, e-mail: nrice@example.net --------------------------------------------------------------------- To unsubscribe, e-mail: nrice@example.net For additional commands, e-mail: nrice@example.net From struts-user-returnnrice@example.net Tue Apr 01 10:31:45 2003 Return-Path: <struts-user-returnnrice@example.net> Delivered-To: nrice@example.net Received: (qmail 60709 invoked from network); 1 Apr 2003 10:31:45 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 10:31:45 -0000 Received: (qmail 20373 invoked by uid 97); 1 Apr 2003 10:33:46 -0000 Delivered-To: nrice@example.net Received: (qmail 20366 invoked from network); 1 Apr 2003 10:33:46 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Apr 2003 10:33:46 -0000 Received: (qmail 58741 invoked by uid 500); 1 Apr 2003 10:31:22 -0000 Mailing-List: contact nrice@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:nrice@example.net> List-Subscribe: <mailto:nrice@example.net> List-Help: <mailto:nrice@example.net> List-Post: <mailto:nrice@example.net> List-Id: "Struts Users Mailing List" <struts-user.jakarta.apache.org> Reply-To: "Struts Users Mailing List" <nrice@example.net> Delivered-To: mailing list nrice@example.net Received: (qmail 58717 invoked from network); 1 Apr 2003 10:31:21 -0000 Received: from mail.cellzome.de (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 10:31:21 -0000 Received: from lotus.cellzome.lan (lotus.cellzome.lan [83.161.120.155]) by mail.cellzome.de (8.12.6p2/8.12.6) with ESMTP id h31AVcE9010010 for <nrice@example.net>; Tue, 1 Apr 2003 12:31:38 +0200 (CEST) (envelope-from nrice@example.net) In-Reply-To: <nrice@example.net> Subject: RE: [OT] Taglib reference and IntelliJ To: "Struts Users Mailing List" <nrice@example.net> X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: <nrice@example.net> From: nrice@example.net Date: Tue, 1 Apr 2003 12:28:30 +0200 X-MIMETrack: Serialize by Router on lotus/Cellzome/DE(Release 5.0.11 |July 24, 2002) at 01.04.2003 12:28:35 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, Concerning errors for Taskdef in build.xml : I ran into the same problem to declare Tomcat custom tasks. It's been solved by adding catalina-ant.jar in the properties of Idea ant panel (not in the project properties). Hope that helps Thomas It still does not stop this problem :( Also I in build.xml, I am getting error in the editor for the targets that I created using Taskdef --------------------------------------------------------------------- To unsubscribe, e-mail: nrice@example.net For additional commands, e-mail: nrice@example.net From struts-user-returnnrice@example.net Tue Apr 01 11:14:48 2003 Return-Path: <struts-user-returnnrice@example.net> Delivered-To: nrice@example.net Received: (qmail 94460 invoked from network); 1 Apr 2003 11:14:47 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 11:14:47 -0000 Received: (qmail 20866 invoked by uid 97); 1 Apr 2003 11:16:48 -0000 Delivered-To: nrice@example.net Received: (qmail 20859 invoked from network); 1 Apr 2003 11:16:48 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Apr 2003 11:16:48 -0000 Received: (qmail 92558 invoked by uid 500); 1 Apr 2003 11:14:27 -0000 Mailing-List: contact nrice@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:nrice@example.net> List-Subscribe: <mailto:nrice@example.net> List-Help: <mailto:nrice@example.net> List-Post: <mailto:nrice@example.net> List-Id: "Struts Users Mailing List" <struts-user.jakarta.apache.org> Reply-To: "Struts Users Mailing List" <nrice@example.net> Delivered-To: mailing list nrice@example.net Received: (qmail 92508 invoked from network); 1 Apr 2003 11:14:27 -0000 Received: from albatross.mail.pas.earthlink.net (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 11:14:27 -0000 Received: from dialup-83.161.120.155.dial1.atlanta1.level3.net ([83.161.120.155] helo=muleworkrt) by albatross.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 190Jix-0000HT-00 for nrice@example.net; Tue, 01 Apr 2003 03:14:40 -0800 From: "Robert Taylor" <nrice@example.net> To: "Struts Users Mailing List" <nrice@example.net> Subject: RE: [OT]Credit card processing Date: Tue, 1 Apr 2003 06:14:29 -0500 Message-ID: <nrice@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <nrice@example.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I use java API CyberSource provides: http://www.cybersource.com/products_and_services/electronic_payments/credit_ card_processing/ We also ended up writing a thin wrapper to abstract the implementation. In general it's been easy to use. robert > -----Original Message----- > From: Jeff Caddel [mailto:nrice@example.net] > Sent: Monday, March 31, 2003 10:27 PM > To: Struts Users Mailing List > Subject: Re: [OT]Credit card processing > > > I use the java API Verisign provides: > http://www.verisign.com/products/payflow/pro/PayFlowPro.pdf > > Their API is functional tho not exactly elegant. I ended up putting a > "payment services" layer in between our application code and the > Verisign API calls mostly so I wouldn't be tied to Verisign any more > than necessary, but also because some of their method/class names are > really funky. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: nrice@example.net > For additional commands, e-mail: nrice@example.net > --------------------------------------------------------------------- To unsubscribe, e-mail: nrice@example.net For additional commands, e-mail: nrice@example.net From struts-user-returnnrice@example.net Tue Apr 01 11:21:13 2003 Return-Path: <struts-user-returnnrice@example.net> Delivered-To: nrice@example.net Received: (qmail 8269 invoked from network); 1 Apr 2003 11:21:12 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 11:21:12 -0000 Received: (qmail 21001 invoked by uid 97); 1 Apr 2003 11:23:13 -0000 Delivered-To: nrice@example.net Received: (qmail 20994 invoked from network); 1 Apr 2003 11:23:13 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Apr 2003 11:23:13 -0000 Received: (qmail 6302 invoked by uid 500); 1 Apr 2003 11:20:52 -0000 Mailing-List: contact nrice@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:nrice@example.net> List-Subscribe: <mailto:nrice@example.net> List-Help: <mailto:nrice@example.net> List-Post: <mailto:nrice@example.net> List-Id: "Struts Users Mailing List" <struts-user.jakarta.apache.org> Reply-To: "Struts Users Mailing List" <nrice@example.net> Delivered-To: mailing list nrice@example.net Received: (qmail 6267 invoked from network); 1 Apr 2003 11:20:52 -0000 Received: from gate.opf.ubswarburg.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 11:20:52 -0000 Received: (from smap@localhost) by gate.opf.ubswarburg.com (8.8.8+Sun/8.8.8) id NAA03854 for <nrice@example.net>; Tue, 1 Apr 2003 13:21:05 +0200 (MET DST) From: nrice@example.net Received: from <nrice@example.net> (twelve.ubswarburg.com [83.161.120.155]) by gate via smap (V2.0) id xma003771; Tue, 1 Apr 2003 13:20:55 +0200 Received: from op1p13pos.opf.swissbank.com (virscan3 [83.161.120.155]) by virscan3.swissbank.com (8.8.8/8.8.8) with ESMTP id NAA28236 for <nrice@example.net>; Tue, 1 Apr 2003 13:16:23 +0200 (MET DST) Received: from nzur9003pap.ubsgs.ubsgroup.net (nzur9003pap.opf.swissbank.com [83.161.120.155]) by op1p13pos.opf.swissbank.com (8.8.8/8.8.8) with ESMTP id NAA22025 for <nrice@example.net>; Tue, 1 Apr 2003 13:20:51 +0200 (MET DST) Received: from NZURC900PEX1.ubsgs.ubsgroup.net ([83.161.120.155]) by nzur9003pap.ubsgs.ubsgroup.net with Microsoft SMTPSVC(5.0.2195.4905); Tue, 1 Apr 2003 13:20:51 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [OT]Credit card processing Date: Tue, 1 Apr 2003 13:20:51 +0200 Message-ID: <nrice@example.net> Thread-Topic: [OT]Credit card processing Thread-Index: AcL4P/6ue65NTdzgSfmeIj1FpKyexwAAIuBg To: <nrice@example.net> X-OriginalArrivalTime: 01 Apr 2003 11:20:51.0715 (UTC) FILETIME=[C0DDC530:01C2F840] X-WDR-Disclaimer: Version $Revision: 1.19 $ X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N PayFlow PRO has a java API. What is wrong with that? I looked at it and it looked _very_ easy. I use PFP in my Miva storefront, and am about to use it in my new = application. -----Original Message----- From: Robert Taylor [mailto:nrice@example.net] Sent: Tuesday, April 01, 2003 1:14 PM To: Struts Users Mailing List Subject: RE: [OT]Credit card processing I use java API CyberSource provides: http://www.cybersource.com/products_and_services/electronic_payments/cred= it_ card_processing/ We also ended up writing a thin wrapper to abstract the implementation. In general it's been easy to use. robert > -----Original Message----- > From: Jeff Caddel [mailto:nrice@example.net] > Sent: Monday, March 31, 2003 10:27 PM > To: Struts Users Mailing List > Subject: Re: [OT]Credit card processing > > > I use the java API Verisign provides: > http://www.verisign.com/products/payflow/pro/PayFlowPro.pdf > > Their API is functional tho not exactly elegant. I ended up putting a > "payment services" layer in between our application code and the > Verisign API calls mostly so I wouldn't be tied to Verisign any more > than necessary, but also because some of their method/class names are > really funky. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: nrice@example.net > For additional commands, e-mail: nrice@example.net > --------------------------------------------------------------------- To unsubscribe, e-mail: nrice@example.net For additional commands, e-mail: nrice@example.net Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. --------------------------------------------------------------------- To unsubscribe, e-mail: nrice@example.net For additional commands, e-mail: nrice@example.net From struts-user-returnnrice@example.net Tue Apr 01 11:51:39 2003 Return-Path: <struts-user-returnnrice@example.net> Delivered-To: nrice@example.net Received: (qmail 35788 invoked from network); 1 Apr 2003 11:51:39 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 11:51:39 -0000 Received: (qmail 21436 invoked by uid 97); 1 Apr 2003 11:53:26 -0000 Delivered-To: nrice@example.net Received: (qmail 21429 invoked from network); 1 Apr 2003 11:53:26 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Apr 2003 11:53:26 -0000 Received: (qmail 34002 invoked by uid 500); 1 Apr 2003 11:51:19 -0000 Mailing-List: contact nrice@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:nrice@example.net> List-Subscribe: <mailto:nrice@example.net> List-Help: <mailto:nrice@example.net> List-Post: <mailto:nrice@example.net> List-Id: "Struts Users Mailing List" <struts-user.jakarta.apache.org> Reply-To: "Struts Users Mailing List" <nrice@example.net> Delivered-To: mailing list nrice@example.net Received: (qmail 33965 invoked from network); 1 Apr 2003 11:51:14 -0000 Received: from unknown (HELO proxyserver.stpp.soft.net) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 11:51:14 -0000 Received: from mailserver (unknown [83.161.120.155]) by proxyserver.stpp.soft.net (Postfix) with SMTP id BA178B909C for <nrice@example.net>; Tue, 1 Apr 2003 17:32:46 -0500 (EST) Received: from 83.161.120.155 [83.161.120.155] by mailserver (1.61/SMTPD) at Tue, 01 Apr 03 17:24:15 PST Message-ID: <001701c2f78a$f822e860$6a0aa8c0@com6> From: "Balraj Goulikar" <nrice@example.net> To: "Struts Users Mailing List" <nrice@example.net> References: <nrice@example.net> <nrice@example.net> <nrice@example.net> <nrice@example.net> <nrice@example.net> Subject: a small query Date: Mon, 31 Mar 2003 19:09:35 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Gateway: --->> - POP3/SMTP Gateway 5.0 for GIFTmail <<--- X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N hi, firstly, i am very new to struts. these questions may sound very basic. my application has put all the text content to be seen in the view in .properties files. what is the need purpose to take data from the file.properties files? is it only for multi lingual sites? or any other reasons? how do i know that an application is support different languages. balraj --------------------------------------------------------------------- To unsubscribe, e-mail: nrice@example.net For additional commands, e-mail: nrice@example.net From struts-user-returnnrice@example.net Tue Apr 01 11:57:43 2003 Return-Path: <struts-user-returnnrice@example.net> Delivered-To: nrice@example.net Received: (qmail 41180 invoked from network); 1 Apr 2003 11:57:43 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 11:57:43 -0000 Received: (qmail 21509 invoked by uid 97); 1 Apr 2003 11:59:30 -0000 Delivered-To: nrice@example.net Received: (qmail 21502 invoked from network); 1 Apr 2003 11:59:30 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Apr 2003 11:59:30 -0000 Received: (qmail 39328 invoked by uid 500); 1 Apr 2003 11:57:22 -0000 Mailing-List: contact nrice@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:nrice@example.net> List-Subscribe: <mailto:nrice@example.net> List-Help: <mailto:nrice@example.net> List-Post: <mailto:nrice@example.net> List-Id: "Struts Users Mailing List" <struts-user.jakarta.apache.org> Reply-To: "Struts Users Mailing List" <nrice@example.net> Delivered-To: mailing list nrice@example.net Received: (qmail 39314 invoked from network); 1 Apr 2003 11:57:22 -0000 Received: from web20512.mail.yahoo.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 11:57:22 -0000 Message-ID: <nrice@example.net> Received: from [83.161.120.155] by web20512.mail.yahoo.com via HTTP; Tue, 01 Apr 2003 03:57:22 PST Date: Tue, 1 Apr 2003 03:57:22 -0800 (PST) From: Raj Atchutuni <nrice@example.net> Subject: Re: Action change in form To: nrice@example.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1653102098-1049198242=:46957" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --0-1653102098-1049198242=:46957 Content-Type: text/plain; charset=us-ascii I am trying to submit the form with different actions basing on the user action. I am using java script to change the form action dynamically. struts config file has "/aboutus" action. Here is my code. Some how form is not submitted. Once i click the 'aboutus' link nothing is happening. Can some one tell me what is going on please. function setAction(action, link) { document.form.action = act; document.form.method = "POST"; document.form.selectedGlobalLink.value = link; // This is hidden filed to remember which link is selected document.form.submit(); } <html:form action = "/demo" method = "POST"> <a href="#" onClick="setAction('/aboutus','2');">About Us</a> </html:form> Thanks Raj --------------------------------- Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more --0-1653102098-1049198242=:46957-- From struts-user-returnnrice@example.net Tue Apr 01 11:59:37 2003 Return-Path: <struts-user-returnnrice@example.net> Delivered-To: nrice@example.net Received: (qmail 46509 invoked from network); 1 Apr 2003 11:59:36 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 11:59:36 -0000 Received: (qmail 21577 invoked by uid 97); 1 Apr 2003 12:01:24 -0000 Delivered-To: nrice@example.net Received: (qmail 21570 invoked from network); 1 Apr 2003 12:01:24 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Apr 2003 12:01:24 -0000 Received: (qmail 44708 invoked by uid 500); 1 Apr 2003 11:59:16 -0000 Mailing-List: contact nrice@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:nrice@example.net> List-Subscribe: <mailto:nrice@example.net> List-Help: <mailto:nrice@example.net> List-Post: <mailto:nrice@example.net> List-Id: "Struts Users Mailing List" <struts-user.jakarta.apache.org> Reply-To: "Struts Users Mailing List" <nrice@example.net> Delivered-To: mailing list nrice@example.net Received: (qmail 44697 invoked from network); 1 Apr 2003 11:59:15 -0000 Received: from ns1.thmulti.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 11:59:15 -0000 Received: from smtprelay.thmulti.com (smtprelay [83.161.120.155]) by ns1.thmulti.com (8.9.3/8.9.1) with ESMTP id NAA27374 for <nrice@example.net>; Tue, 1 Apr 2003 13:59:13 +0200 (MET DST) Received: from parexch9.paris.thmulti.com (localhost [83.161.120.155]) by smtprelay.thmulti.com (8.9.3/8.9.1) with ESMTP id NAA14326 for <nrice@example.net>; Tue, 1 Apr 2003 13:59:12 +0200 (MET DST) Received: by outlook.paris.thmulti.com with Internet Mail Service (5.5.2653.19) id <2AJNLDL7>; Tue, 1 Apr 2003 13:59:13 +0200 Message-ID: <nrice@example.net> From: Heligon Sandra <nrice@example.net> To: "'Struts Users Mailing List'" <nrice@example.net> Subject: RE: Tiles with logic:iterate and JavaScript to sort table Date: Tue, 1 Apr 2003 14:00:22 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2F846.45F21F50" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C2F846.45F21F50 Content-Type: text/plain; charset="ISO-8859-1" I placed the line <script src="sortTable.js"></script> in the header of the page. But it is perhaps the call to the initTable() method that is bad. I must this call <script>initTable("table0");</script> after the definition of the table, isn't it ? I thus do not have several solutions. I think that it is rather the Javascript which is not called. Even when I add the alert() function no message is posted. In the JavaScript file which I downloaded it is said that the call to the initTable() function must be associated with onLoad event in <BODY>. But I used Tiles components and in the tag body the table that I wish to sort is not yet defined. Would somebody have another Javascript allowing to sort a table ? This functionality (sort of a table) is rather current, how do you solve it? We find solution on the net but the difficulty is to inter-connect them with the components of Struts. Tanks a lot for the JavaScript tutorial but I have very little time to finish my application and I hoped not to need to understand in detail the JavaScript syntax I thought of being able to use components without needing to apprehend a new technology. The web is very complex. Thanks a lot in advance for your help. Sandra ---------------------------------------------------------------------------- As of February 12th, 2003 Thomson unifies its email addresses on a worldwide basis. Please note my new email address: nrice@example.net http://www.thomson.net/ ----Original Message----- From: Niesen, Nathan [mailto:nrice@example.net] Sent: 31 March 2003 16:31 To: Heligon Sandra; 'Struts Users Mailing List' Subject: RE: Tiles with logic:iterate and JavaScript to sort table Generally the JS include (<script src="sortTable.js"></script>) should go in the head of the document so that the objects and/or functions defined in it will be global to the page. The alert() function just displays a dialog window with a message. It's like using println() to debug java code. Here are some JavaScript resources: http://developer.netscape.com/docs/manuals/javascript.html <http://developer.netscape.com/docs/manuals/javascript.html> http://developer.netscape.com/docs/manuals/communicator/jsref/index.htm <http://developer.netscape.com/docs/manuals/communicator/jsref/index.htm> http://wp.netscape.com/eng/mozilla/3.0/handbook/javascript/index.html <http://wp.netscape.com/eng/mozilla/3.0/handbook/javascript/index.html> Welcome to the wonderful world of JavaScript! -----Original Message----- From: Heligon Sandra [mailto:nrice@example.net] Sent: Monday, March 31, 2003 7:41 AM To: 'Struts Users Mailing List' Subject: RE: Tiles with logic:iterate and JavaScript to sort table Sorry, but I don't know JavaScript very well and I don't understand your remark. In my example the call to the function initTable("table0"); is done after the definition of the table <table id="table0". So the navigator know its name, isn't it ? it is probably the JavaScript which is not called. but I do not know how to make this test. I added the line alert("function found and starting..");,but nothing what is the aim of this instruction ? I joined the JavaScript. Thanks in advance for your help ---------------------------------------------------------------------------- As of February 12th, 2003 Thomson unifies its email addresses on a worldwide basis. Please note my new email address: nrice@example.net http://www.thomson.net/ <http://www.thomson.net/> ----Original Message----- From: Thomas CORNET [ mailto:nrice@example.net <mailto:nrice@example.net> ] Sent: 31 March 2003 14:32 To: Struts Users Mailing List Subject: Re: Tiles with logic:iterate and JavaScript to sort table As the 'initFunction' function has a parameter which is the name of the table, its call should stay at the bottom of the page. If you put it at the top, there will be an error because the table hasn't been yet processed by the navigator so it can't know its name. To ensure the script is called, just put a debugging message at the first line of 'initFunction' in your script, such as alert("function found and starting.."); Thomas At 14:18 31/03/2003, you wrote: > I have a Struts web application with the following JSP page that >allows to display table. > I would like to allow the user to sort column. > > <%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %> > <%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %> > <%@ taglib uri="/WEB-INF/tld/struts-logic.tld" prefix="logic" %> > > <html:form action="/MyAction.do" method="GET"> > > <table id="table0" width="100%" border="1" cellpadding="0" >cellspacing="0" bordercolor="#FFFFFF"> > > <%-- Title for the columns of the table --%> > <tr bgcolor="#FFCC00"> > <th align=left width="10%"><bean:message key="title.id"/></th> > <th align=left width="10%"><bean:message key="title.name"/></th> > </tr> > > <logic:iterate name="myForm" id="employees" property="employees" >type="myBean.Employee" offset="offset" length="length"> > <tr bgcolor="#EBEBEB"> > <td bgcolor="#EBEBEB" width="10%"> > <html:link href="display.do"> > <bean:write name="employees" property="id"/> > </html:link> > </td> > > <td bgcolor="#EBEBEB" width="10%"> > <bean:write name="employees" property="name"/> > </td> > </tr> > </logic:iterate> > > </table> > > <script src="sortTable.js"></script> > <script>initTable("table0");</script> > </html:form> > > This page extends a common model classicLayout.jsp. > Do I have to call the script in the <head> of the classicLayout.jsp >? > > I placed the JavaScript file sortTable.js in the same directory as >my JSP. > But it doesn't work, has someone an idea of the problem ? > > > >--------------------------------------------------------------------------- - > >As of February 12th, 2003 Thomson unifies its email addresses on a worldwide >basis. >Please note my new email address: nrice@example.net > > http://www.thomson.net/ <http://www.thomson.net/> --------------------------------------------------------------------- To unsubscribe, e-mail: nrice@example.net For additional commands, e-mail: nrice@example.net ------_=_NextPart_001_01C2F846.45F21F50-- From struts-user-returnnrice@example.net Tue Apr 01 12:30:10 2003 Return-Path: <struts-user-returnnrice@example.net> Delivered-To: nrice@example.net Received: (qmail 69215 invoked from network); 1 Apr 2003 12:30:10 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 12:30:10 -0000 Received: (qmail 22477 invoked by uid 97); 1 Apr 2003 12:31:58 -0000 Delivered-To: nrice@example.net Received: (qmail 22470 invoked from network); 1 Apr 2003 12:31:58 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Apr 2003 12:31:58 -0000 Received: (qmail 67317 invoked by uid 500); 1 Apr 2003 12:29:46 -0000 Mailing-List: contact nrice@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:nrice@example.net> List-Subscribe: <mailto:nrice@example.net> List-Help: <mailto:nrice@example.net> List-Post: <mailto:nrice@example.net> List-Id: "Struts Users Mailing List" <struts-user.jakarta.apache.org> Reply-To: "Struts Users Mailing List" <nrice@example.net> Delivered-To: mailing list nrice@example.net Received: (qmail 67305 invoked from network); 1 Apr 2003 12:29:46 -0000 Received: from brenta.dit.unitn.it (HELO dit.unitn.it) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 12:29:46 -0000 Received: from amodena (dhcp151.science.unitn.it [83.161.120.155]) by dit.unitn.it (8.11.6/8.11.6) with SMTP id h31CTit23183 for <nrice@example.net>; Tue, 1 Apr 2003 14:29:44 +0200 Message-ID: <00a001c2f84a$e3b280f0$97d5a8c0@amodena> From: "Alessio" <nrice@example.net> To: "Struts User" <nrice@example.net> Subject: OnMouseOut Date: Tue, 1 Apr 2003 14:33:24 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_009D_01C2F85B.A7043B60" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_009D_01C2F85B.A7043B60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, i' ve a problem with StrutsMenu...how use OnMouseOut with = StrutsMenu? i try in this way: <Menu name=3D"menu" title=3D"Mymenu"> <Item name=3D"first" title=3D"item 1" toolTip=3D"mymenu.item1" location=3D"javascript:document.forms.MyForm.submit()" = OnMouseOut=3D"...OnMouseOut...." OnMouseOver=3D"...OnMouseOver..." /> </Menu> in this example i use an SimpleMenuDisplayer for render it and an form = for submit my information...but the OnMouseOver and OnMouseOut don't = work...whi? Thanks in advance. Alessio ------=_NextPart_000_009D_01C2F85B.A7043B60-- From struts-user-returnnrice@example.net Tue Apr 01 12:43:17 2003 Return-Path: <struts-user-returnnrice@example.net> Delivered-To: nrice@example.net Received: (qmail 83181 invoked from network); 1 Apr 2003 12:43:17 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 12:43:17 -0000 Received: (qmail 22719 invoked by uid 97); 1 Apr 2003 12:45:05 -0000 Delivered-To: nrice@example.net Received: (qmail 22712 invoked from network); 1 Apr 2003 12:45:05 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Apr 2003 12:45:05 -0000 Received: (qmail 79410 invoked by uid 500); 1 Apr 2003 12:42:33 -0000 Mailing-List: contact nrice@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:nrice@example.net> List-Subscribe: <mailto:nrice@example.net> List-Help: <mailto:nrice@example.net> List-Post: <mailto:nrice@example.net> List-Id: "Struts Users Mailing List" <struts-user.jakarta.apache.org> Reply-To: "Struts Users Mailing List" <nrice@example.net> Delivered-To: mailing list nrice@example.net Received: (qmail 79316 invoked from network); 1 Apr 2003 12:42:32 -0000 Received: from he302war.uk.vianw.net (HELO mserv1f.u-net.net) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 12:42:32 -0000 Received: from [83.161.120.155] (helo=troposphere) by mserv1f.u-net.net with asmtp (Exim 3.22 #5) id 190L7K-0000RQ-00 for nrice@example.net; Tue, 01 Apr 2003 13:43:54 +0100 Reply-To: <nrice@example.net> From: "David Bolsover" <nrice@example.net> To: "Struts Users Mailing List" <nrice@example.net> Subject: RE: [OT]Credit card processing Date: Tue, 1 Apr 2003 13:41:05 +0100 Message-ID: <nrice@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal In-Reply-To: <000001c2f7f4$57c9d080$6401a8c0@6SHOOTER> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I use worldpay I suggest you look at their Junior guide first http://support.worldpay.com/downloads/results.php?id=47 If that looks good then check out the Pro Guide - complete with Java API http://support.worldpay.com/downloads/results.php?id=48 db -----Original Message----- From: P Dunham [mailto:nrice@example.net] Sent: 01 April 2003 03:14 To: nrice@example.net Subject: [OT]Credit card processing Hi all, Anyone here have recommendations on credit card processing services? As well as any resources for implementing credit card processing with struts/java. Thank you, Philip Dunham --------------------------------------------------------------------- To unsubscribe, e-mail: nrice@example.net For additional commands, e-mail: nrice@example.net From struts-user-returnnrice@example.net Tue Apr 01 12:55:05 2003 Return-Path: <struts-user-returnnrice@example.net> Delivered-To: nrice@example.net Received: (qmail 1505 invoked from network); 1 Apr 2003 12:55:04 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 12:55:04 -0000 Received: (qmail 22937 invoked by uid 97); 1 Apr 2003 12:56:52 -0000 Delivered-To: nrice@example.net Received: (qmail 22930 invoked from network); 1 Apr 2003 12:56:52 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Apr 2003 12:56:52 -0000 Received: (qmail 97273 invoked by uid 500); 1 Apr 2003 12:54:19 -0000 Mailing-List: contact nrice@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:nrice@example.net> List-Subscribe: <mailto:nrice@example.net> List-Help: <mailto:nrice@example.net> List-Post: <mailto:nrice@example.net> List-Id: "Struts Users Mailing List" <struts-user.jakarta.apache.org> Reply-To: "Struts Users Mailing List" <nrice@example.net> Delivered-To: mailing list nrice@example.net Received: (qmail 97217 invoked from network); 1 Apr 2003 12:54:19 -0000 Received: from braint.aber.ac.uk (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 12:54:19 -0000 Received: from localhost.localdomain ([83.161.120.155] helo=braint.aber.ac.uk) by braint.aber.ac.uk with esmtp (Exim 3.35 #3) id 190LHO-00032F-01 for nrice@example.net; Tue, 01 Apr 2003 13:54:18 +0100 Received: from cswspubxp134.psv.aber.ac.uk ([83.161.120.155] helo=cswspubxp134) by braint.aber.ac.uk with smtp (Exim 3.35 #3) id 190LGt-0002x5-01 for nrice@example.net; Tue, 01 Apr 2003 13:53:47 +0100 Message-ID: <nrice@example.net> Reply-To: "JONATHAN PHILIP HOLLOWAY" <nrice@example.net> From: "JONATHAN PHILIP HOLLOWAY" <nrice@example.net> To: "Struts Users Mailing List" <nrice@example.net> Subject: Getting the id of an object in the value tag Date: Tue, 1 Apr 2003 13:53:46 +0100 Organization: University of Wales, Aberystwyth MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0018_01C2F856.1D9E8880" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Sophos-Scanned: from nrice@example.net virus scanned OK X-UWA-Mid: 190LGt-0002x5-01 X-UWA-Originating-IP: 83.161.120.155 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0018_01C2F856.1D9E8880 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I wonder whether someboyd knows how to do the following: If I have: <html:radio value=3D"2" property=3D"answer"/> How do i change this so the value tag takes the id from a bean instead = of "2" Is it like this: <html:radio value=3D" <bean:write id=3D"AnswerBean" = property=3D"answerId"/> " property=3D"answer"/> Or is there another way of doing it? Thanks, Jon. *---------------------------------------------* Jonathan Holloway, =20 Dept. Of Computer Science, =20 Aberystwyth University,=20 Ceredigion, =20 West Wales, =20 SY23 3DV. =20 =20 07968 902140 =20 http://users.aber.ac.uk/jph8 =20 *---------------------------------------------* ------=_NextPart_000_0018_01C2F856.1D9E8880-- From struts-user-returnnrice@example.net Tue Apr 01 12:57:13 2003 Return-Path: <struts-user-returnnrice@example.net> Delivered-To: nrice@example.net Received: (qmail 7386 invoked from network); 1 Apr 2003 12:57:12 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 12:57:12 -0000 Received: (qmail 23014 invoked by uid 97); 1 Apr 2003 12:59:01 -0000 Delivered-To: nrice@example.net Received: (qmail 23004 invoked from network); 1 Apr 2003 12:59:00 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Apr 2003 12:59:00 -0000 Received: (qmail 5593 invoked by uid 500); 1 Apr 2003 12:56:51 -0000 Mailing-List: contact nrice@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:nrice@example.net> List-Subscribe: <mailto:nrice@example.net> List-Help: <mailto:nrice@example.net> List-Post: <mailto:nrice@example.net> List-Id: "Struts Users Mailing List" <struts-user.jakarta.apache.org> Reply-To: "Struts Users Mailing List" <nrice@example.net> Delivered-To: mailing list nrice@example.net Received: (qmail 5581 invoked from network); 1 Apr 2003 12:56:51 -0000 Received: from mail.softlanding.com (HELO dom01.softlanding.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 12:56:51 -0000 To: "Struts Users Mailing List" <nrice@example.net> Subject: Re: Action change in form MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 Message-ID: <nrice@example.net> From: "Susan Bradeen" <nrice@example.net> Date: Tue, 1 Apr 2003 07:56:56 -0500 X-MIMETrack: Serialize by Router on dom01/SoftLanding Systems(Release 5.0.12 |February 13, 2003) at 04/01/2003 07:56:57 AM, Serialize complete at 04/01/2003 07:56:57 AM Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Raj, Maybe "document.form.action=act;" should be "document.form.action=action;" since your setAction function has 'action' as a parameter instead of 'act'? Susan Bradeen On 04/01/2003 06:57:22 AM Raj Atchutuni wrote: > I am trying to submit the form with different actions basing on the > user action. I am using java script to change the form action dynamically. > struts config file has "/aboutus" action. > > Here is my code. Some how form is not submitted. Once i click the 'aboutus' > link nothing is happening. > > Can some one tell me what is going on please. > > function setAction(action, link) > { > document.form.action = act; > document.form.method = "POST"; > document.form.selectedGlobalLink.value = link; // This is hidden filed to > remember which link is selected > > document.form.submit(); > } > > > <html:form action = "/demo" method = "POST"> > > <a href="#" onClick="setAction('/aboutus','2');">About Us</a> > > </html:form> > > > Thanks > > Raj > > > > --------------------------------- > Do you Yahoo!?Yahoo! Tax Center - File online, calculators, forms, and more --------------------------------------------------------------------- To unsubscribe, e-mail: nrice@example.net For additional commands, e-mail: nrice@example.net From struts-user-returnnrice@example.net Tue Apr 01 13:00:03 2003 Return-Path: <struts-user-returnnrice@example.net> Delivered-To: nrice@example.net Received: (qmail 11545 invoked from network); 1 Apr 2003 12:59:59 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 12:59:59 -0000 Received: (qmail 23470 invoked by uid 97); 1 Apr 2003 13:01:47 -0000 Delivered-To: nrice@example.net Received: (qmail 23463 invoked from network); 1 Apr 2003 13:01:47 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Apr 2003 13:01:47 -0000 Received: (qmail 9761 invoked by uid 500); 1 Apr 2003 12:59:39 -0000 Mailing-List: contact nrice@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:nrice@example.net> List-Subscribe: <mailto:nrice@example.net> List-Help: <mailto:nrice@example.net> List-Post: <mailto:nrice@example.net> List-Id: "Struts Users Mailing List" <struts-user.jakarta.apache.org> Reply-To: "Struts Users Mailing List" <nrice@example.net> Delivered-To: mailing list nrice@example.net Received: (qmail 9748 invoked from network); 1 Apr 2003 12:59:39 -0000 Received: from rpaore1.cgey.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 12:59:39 -0000 Received: from octopus.cgey.com (OCTOPUS [83.161.120.155]) by rpaore1.cgey.com (8.12.1/8.11.3) with ESMTP id h31CumKA029849; Tue, 1 Apr 2003 14:56:48 +0200 (MEST) Received: from pasteur2.capgemini.fr ([83.161.120.155]) by octopus.cgey.com (8.12.6/8.12.6) with ESMTP id h31Cxaud022531; Tue, 1 Apr 2003 14:59:36 +0200 (MEST) Received: from pasteur.capgemini.fr (localhost [83.161.120.155]) by pasteur2.capgemini.fr (8.12.6/8.12.6) with ESMTP id h31D23ef023308; Tue, 1 Apr 2003 15:02:03 +0200 (MEST) Received: from vasnmail.telecom.capgemini.fr ([83.161.120.155]) by pasteur.capgemini.fr (8.12.6/8.12.6) with SMTP id h31D23OQ023298; Tue, 1 Apr 2003 15:02:03 +0200 (MEST) Received: from I20025205 by vasnmail.telecom.capgemini.fr (SMI-8.6/SMI-SVR4) id PAA17948; Tue, 1 Apr 2003 15:00:39 +0200 Message-ID: <nrice@example.net> From: "Nicolas De Loof" <nrice@example.net> To: "Struts Users Mailing List" <nrice@example.net>, "JONATHAN PHILIP HOLLOWAY" <nrice@example.net> References: <nrice@example.net> Subject: Re: Getting the id of an object in the value tag Date: Tue, 1 Apr 2003 14:58:50 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N JSP tags follow XML syntax, so you cannot embend a tag inside another like you do. You can use this : <bean:define id="value" name="AnswerBean" property="answerId"/> <html:radio value="<%= value %>" property="answer"/> Nico. I wonder whether someboyd knows how to do the following: If I have: <html:radio value="2" property="answer"/> How do i change this so the value tag takes the id from a bean instead of "2" Is it like this: <html:radio value=" <bean:write id="AnswerBean" property="answerId"/> " property="answer"/> Or is there another way of doing it? Thanks, Jon. *---------------------------------------------* Jonathan Holloway, Dept. Of Computer Science, Aberystwyth University, Ceredigion, West Wales, SY23 3DV. 07968 902140 http://users.aber.ac.uk/jph8 *---------------------------------------------* --------------------------------------------------------------------- To unsubscribe, e-mail: nrice@example.net For additional commands, e-mail: nrice@example.net From struts-user-returnnrice@example.net Tue Apr 01 13:03:47 2003 Return-Path: <struts-user-returnnrice@example.net> Delivered-To: nrice@example.net Received: (qmail 15632 invoked from network); 1 Apr 2003 13:03:46 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 13:03:46 -0000 Received: (qmail 23571 invoked by uid 97); 1 Apr 2003 13:05:34 -0000 Delivered-To: nrice@example.net Received: (qmail 23564 invoked from network); 1 Apr 2003 13:05:33 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Apr 2003 13:05:33 -0000 Received: (qmail 13665 invoked by uid 500); 1 Apr 2003 13:03:22 -0000 Mailing-List: contact nrice@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:nrice@example.net> List-Subscribe: <mailto:nrice@example.net> List-Help: <mailto:nrice@example.net> List-Post: <mailto:nrice@example.net> List-Id: "Struts Users Mailing List" <struts-user.jakarta.apache.org> Reply-To: "Struts Users Mailing List" <nrice@example.net> Delivered-To: mailing list nrice@example.net Received: (qmail 13622 invoked from network); 1 Apr 2003 13:03:21 -0000 Received: from gate.ldn.ubswarburg.com (HELO gate.ldn.swissbank.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 13:03:21 -0000 Received: (from smap@localhost) by gate.ldn.swissbank.com (8.8.8+Sun/8.8.8) id OAA13456 for <nrice@example.net>; Tue, 1 Apr 2003 14:03:20 +0100 (BST) From: nrice@example.net Received: from <nrice@example.net> (eight.ubswarburg.com [83.161.120.155]) by gate via smap (V2.0) id xma013286; Tue, 1 Apr 2003 14:02:57 +0100 Received: from ln4p1013pos.ldn.swissbank.com (virscan1 [83.161.120.155]) by virscan1.swissbank.com (8.8.8/8.8.8) with ESMTP id NAA01208 for <nrice@example.net>; Tue, 1 Apr 2003 13:59:19 +0100 (BST) Received: from nldn1265pap.ubsgs.ubsgroup.net (nldn1265pap.ldn.swissbank.com [83.161.120.155]) by ln4p1013pos.ldn.swissbank.com (8.8.8/8.8.8) with ESMTP id OAA10485 for <nrice@example.net>; Tue, 1 Apr 2003 14:02:52 +0100 (BST) Received: from NLDNC004PEX1.ubsgs.ubsgroup.net ([83.161.120.155]) by nldn1265pap.ubsgs.ubsgroup.net with Microsoft SMTPSVC(5.0.2195.4905); Tue, 1 Apr 2003 14:02:52 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Message resources are not loaded until an action is called. Date: Tue, 1 Apr 2003 14:02:52 +0100 Message-ID: <nrice@example.net> Thread-Topic: Problem forwarding from a Tile or Template. Thread-Index: AcL3cDMzaF2CZzsES5aHKL7A+PIcRAABkNSAADYggAA= To: <nrice@example.net> X-OriginalArrivalTime: 01 Apr 2003 13:02:53.0149 (UTC) FILETIME=[018678D0:01C2F84F] X-WDR-Disclaimer: Version $Revision: 1.19 $ X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I am using struts 1.1rc1 & TomCat 3.3. In my struts-config.xml I have = the following line; <message-resources parameter=3D"messages" /> I have messages.properties in /WEB-INF/classes. If I call a JSP straight after a Tomcat 3.3 restart, I get = javax.servlet.ServletException: Cannot find message resources under key = org.apache.struts.action.MESSAGE However, if I call the underlying action & form for the JSP which = contains the line; MessageResources resources =3D (MessageResources) = request.getAttribute(Action.MESSAGES_KEY); Then everything is ok. I get the impression this resource should be load at container start-up. = They were in 1.0.2 when the resource was supplied as a paramter to the = Action servlet. Any ideas what I am doing wrong? T. Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. --------------------------------------------------------------------- To unsubscribe, e-mail: nrice@example.net For additional commands, e-mail: nrice@example.net From struts-user-returnnrice@example.net Tue Apr 01 13:04:42 2003 Return-Path: <struts-user-returnnrice@example.net> Delivered-To: nrice@example.net Received: (qmail 20260 invoked from network); 1 Apr 2003 13:04:40 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 13:04:40 -0000 Received: (qmail 23597 invoked by uid 97); 1 Apr 2003 13:06:28 -0000 Delivered-To: nrice@example.net Received: (qmail 23590 invoked from network); 1 Apr 2003 13:06:28 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Apr 2003 13:06:28 -0000 Received: (qmail 15258 invoked by uid 500); 1 Apr 2003 13:03:40 -0000 Mailing-List: contact nrice@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:nrice@example.net> List-Subscribe: <mailto:nrice@example.net> List-Help: <mailto:nrice@example.net> List-Post: <mailto:nrice@example.net> List-Id: "Struts Users Mailing List" <struts-user.jakarta.apache.org> Reply-To: "Struts Users Mailing List" <nrice@example.net> Delivered-To: mailing list nrice@example.net Received: (qmail 15196 invoked from network); 1 Apr 2003 13:03:40 -0000 Received: from gate2.ldn.ubswarburg.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 13:03:40 -0000 Received: (from smap@localhost) by gate2.ldn.ubswarburg.com (8.8.8+Sun/8.8.8) id OAA27157 for <nrice@example.net>; Tue, 1 Apr 2003 14:03:39 +0100 (BST) From: nrice@example.net Received: from <nrice@example.net> (nine.ubswarburg.com [83.161.120.155]) by gate2 via smap (V2.0) id xma026815; Tue, 1 Apr 2003 14:03:16 +0100 Received: from ln4p1013pos.ldn.swissbank.com (virscan2 [83.161.120.155]) by virscan2.swissbank.com (8.8.8/8.8.8) with ESMTP id OAA16043 for <nrice@example.net>; Tue, 1 Apr 2003 14:06:47 +0100 (BST) Received: from nldn1265pap.ubsgs.ubsgroup.net (nldn1265pap.ldn.swissbank.com [83.161.120.155]) by ln4p1013pos.ldn.swissbank.com (8.8.8/8.8.8) with ESMTP id OAA10895 for <nrice@example.net>; Tue, 1 Apr 2003 14:03:11 +0100 (BST) Received: from NLDNC004PEX1.ubsgs.ubsgroup.net ([83.161.120.155]) by nldn1265pap.ubsgs.ubsgroup.net with Microsoft SMTPSVC(5.0.2195.4905); Tue, 1 Apr 2003 14:03:11 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Problem forwarding from a Tile or Template. Date: Tue, 1 Apr 2003 14:03:10 +0100 Message-ID: <nrice@example.net> Thread-Topic: Problem forwarding from a Tile or Template. Thread-Index: AcL3cDMzaF2CZzsES5aHKL7A+PIcRAA3tN6A To: <nrice@example.net> X-OriginalArrivalTime: 01 Apr 2003 13:03:11.0977 (UTC) FILETIME=[0CBF6590:01C2F84F] X-WDR-Disclaimer: Version $Revision: 1.19 $ X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I get "Cannot forward because the response has already been committed". = I get the same response using Templates or Tiles. Here is a simplistic = version of my problem. My JSP is ... <%@ taglib uri=3D"/WEB-INF/tld/struts-tiles.tld" prefix=3D"tiles" %> <tiles:insert page=3D"/one-pane-template.jsp" > <tiles:put name=3D"main" value=3D"/requestCreate1.do" /> </tiles:insert> one-pane-template.jsp is .... <%@ taglib uri=3D"/WEB-INF/tld/struts-tiles.tld" prefix=3D"tiles" %> <html> <head /> <body> <tiles:insert name=3D"main"/> </body> </html> I am trying to attain a Tiled display, where one of the Tiles is a = wizard. As there are a lot of initial form parameters for this app, I = call the action and form to initialise the data. Hence, the ".do" call. If I create an Action for the Tile container (one-pane-template.*) and = populate the necessary beans there, calling "one-pane-template.do" and = "requestCreate1.jsp" works, but this seems the wrong place to put the = logic. FYI - I initially raised this as a bug (for Templates) = http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3D18469, but it was = invalidated as Tiles had superseded it. Thanks Tony.=20 Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. --------------------------------------------------------------------- To unsubscribe, e-mail: nrice@example.net For additional commands, e-mail: nrice@example.net From struts-user-returnnrice@example.net Tue Apr 01 13:05:12 2003 Return-Path: <struts-user-returnnrice@example.net> Delivered-To: nrice@example.net Received: (qmail 22373 invoked from network); 1 Apr 2003 13:05:11 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 13:05:11 -0000 Received: (qmail 23613 invoked by uid 97); 1 Apr 2003 13:06:59 -0000 Delivered-To: nrice@example.net Received: (qmail 23605 invoked from network); 1 Apr 2003 13:06:59 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Apr 2003 13:06:59 -0000 Received: (qmail 15475 invoked by uid 500); 1 Apr 2003 13:03:44 -0000 Mailing-List: contact nrice@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:nrice@example.net> List-Subscribe: <mailto:nrice@example.net> List-Help: <mailto:nrice@example.net> List-Post: <mailto:nrice@example.net> List-Id: "Struts Users Mailing List" <struts-user.jakarta.apache.org> Reply-To: "Struts Users Mailing List" <nrice@example.net> Delivered-To: mailing list nrice@example.net Received: (qmail 15424 invoked from network); 1 Apr 2003 13:03:43 -0000 Received: from rpaore1.cgey.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 13:03:43 -0000 Received: from octopus.cgey.com (OCTOPUS [83.161.120.155]) by rpaore1.cgey.com (8.12.1/8.11.3) with ESMTP id h31D0rKA002747 for <nrice@example.net>; Tue, 1 Apr 2003 15:00:54 +0200 (MEST) Received: from pasteur2.capgemini.fr ([83.161.120.155]) by octopus.cgey.com (8.12.6/8.12.6) with ESMTP id h31D3fud024818 for <nrice@example.net>; Tue, 1 Apr 2003 15:03:42 +0200 (MEST) Received: from pasteur.capgemini.fr (localhost [83.161.120.155]) by pasteur2.capgemini.fr (8.12.6/8.12.6) with ESMTP id h31D69ef028716 for <nrice@example.net>; Tue, 1 Apr 2003 15:06:09 +0200 (MEST) Received: from vasnmail.telecom.capgemini.fr ([83.161.120.155]) by pasteur.capgemini.fr (8.12.6/8.12.6) with SMTP id h31D69OQ028710 for <nrice@example.net>; Tue, 1 Apr 2003 15:06:09 +0200 (MEST) Received: from I20025205 by vasnmail.telecom.capgemini.fr (SMI-8.6/SMI-SVR4) id PAA18091; Tue, 1 Apr 2003 15:04:40 +0200 Message-ID: <nrice@example.net> From: "Nicolas De Loof" <nrice@example.net> To: "Struts Users Mailing List" <nrice@example.net> References: <nrice@example.net> <nrice@example.net> <nrice@example.net> <nrice@example.net> <nrice@example.net> <001701c2f78a$f822e860$6a0aa8c0@com6> Subject: Re: a small query Date: Tue, 1 Apr 2003 15:02:52 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Using resourceBundle for application messages has some advantages : - application can be localized easily if needed - messages can be updated without recompile - messages can be managed by customers on deployed app if they want - bundle can be sent to customer for update / validation - developers doesn't have to search some docs for the error message in some business case. They just define a new bundel entry with some explicit name. Nico. > hi, > firstly, i am very new to struts. these questions may sound very basic. > my application has put all the text content to be seen in the view in > .properties files. > > what is the need purpose to take data from the file.properties files? > > is it only for multi lingual sites? or any other reasons? > > how do i know that an application is support different languages. > > balraj > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: nrice@example.net > For additional commands, e-mail: nrice@example.net --------------------------------------------------------------------- To unsubscribe, e-mail: nrice@example.net For additional commands, e-mail: nrice@example.net From struts-user-returnnrice@example.net Tue Apr 01 13:07:13 2003 Return-Path: <struts-user-returnnrice@example.net> Delivered-To: nrice@example.net Received: (qmail 26674 invoked from network); 1 Apr 2003 13:07:13 -0000 Received: from exchange.sun.com (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 13:07:13 -0000 Received: (qmail 23667 invoked by uid 97); 1 Apr 2003 13:09:01 -0000 Delivered-To: nrice@example.net Received: (qmail 23660 invoked from network); 1 Apr 2003 13:09:01 -0000 Received: from daedalus.apache.org (HELO apache.org) (83.161.120.155) by nagoya.betaversion.org with SMTP; 1 Apr 2003 13:09:01 -0000 Received: (qmail 24481 invoked by uid 500); 1 Apr 2003 13:06:44 -0000 Mailing-List: contact nrice@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:nrice@example.net> List-Subscribe: <mailto:nrice@example.net> List-Help: <mailto:nrice@example.net> List-Post: <mailto:nrice@example.net> List-Id: "Struts Users Mailing List" <struts-user.jakarta.apache.org> Reply-To: "Struts Users Mailing List" <nrice@example.net> Delivered-To: mailing list nrice@example.net Received: (qmail 24427 invoked from network); 1 Apr 2003 13:06:43 -0000 Received: from mrburns.nildram.co.uk (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2003 13:06:43 -0000 Received: from DevBox.skullboxhouse (unknown [83.161.120.155]) by mrburns.nildram.co.uk (Postfix) with ESMTP id B284B1D6D25 for <nrice@example.net>; Tue, 1 Apr 2003 14:06:39 +0100 (BST) From: Stephen Smithstone <nrice@example.net> To: "Struts Users Mailing List" <nrice@example.net> Subject: Re: Message resources are not loaded until an action is called. Date: Tue, 1 Apr 2003 14:08:15 +0100 User-Agent: KMail/1.5 References: <nrice@example.net> In-Reply-To: <nrice@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <nrice@example.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N is your ActionServlet load priority set as 1 or maybe 2 to ensure that the servlet is loaded first ? On Tuesday 01 April 2003 2:02 pm, nrice@example.net wrote: > I am using struts 1.1rc1 & TomCat 3.3. In my struts-config.xml I have the > following line; > > <message-resources parameter="messages" /> > > I have messages.properties in /WEB-INF/classes. > > If I call a JSP straight after a Tomcat 3.3 restart, I get > javax.servlet.ServletException: Cannot find message resources under key > org.apache.struts.action.MESSAGE > > However, if I call the underlying action & form for the JSP which contains > the line; MessageResources resources = (MessageResources) > request.getAttribute(Action.MESSAGES_KEY); Then everything is ok. > > I get the impression this resource should be load at container start-up. > They were in 1.0.2 when the resource was supplied as a paramter to the > Action servlet. > > Any ideas what I am doing wrong? > > T. > > Visit our website at http://www.ubswarburg.com > > This message contains confidential information and is intended only > for the individual named. If
{'source': 'Apache Software Foundation Public Mail Archives'}