Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 86440 invoked from network); 23 Mar 2004 12:21:04 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Mar 2004 12:21:04 -0000 Received: (qmail 98651 invoked by uid 500); 23 Mar 2004 12:20:58 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 98638 invoked by uid 500); 23 Mar 2004 12:20:58 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 98623 invoked from network); 23 Mar 2004 12:20:57 -0000 Received: from unknown (HELO aquila.srg-ssr.ch) (146.159.4.16) by daedalus.apache.org with SMTP; 23 Mar 2004 12:20:57 -0000 Received: from mail.msc ([146.159.22.50]) by 146.159.6.3 with trend_isnt_name_B; Tue, 23 Mar 2004 13:24:07 +0100 Received: from moscow.sri.srg-ssr.ch ([146.159.48.99]) by mail.msc (mail.msc [146.159.22.50]) (MDaemon.PRO.v6.8.4.R) with ESMTP id 34-md50000003847.tmp for ; Tue, 23 Mar 2004 13:18:09 +0100 Received: by moscow.sri.srg-ssr.ch with Internet Mail Service (5.5.2657.72) id ; Tue, 23 Mar 2004 13:20:53 +0100 Message-ID: <513F1D9DFA0CD311BC5B0008C773DC5F03453C30@moscow.sri.srg-ssr.ch> From: Eric.Lewis@swissinfo.ch To: commons-user@jakarta.apache.org Subject: [Validator] Using Struts validators outside of Struts Date: Tue, 23 Mar 2004 13:20:48 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-MDRemoteIP: 146.159.48.99 X-Return-Path: Eric.Lewis@swissinfo.ch X-MDaemon-Deliver-To: commons-user@jakarta.apache.org X-Spam-Status: No, hits=0.8 required=5.0 tests=NO_REAL_NAME version=2.54 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.54 (1.174.2.17-2003-05-11-exp) X-Spam-Report: ---- Start SpamAssassin results 0.80 points, 5 required; Message preview: Hi I'm trying to use the Struts validator classes outside of Struts. I asked this question earlier, but by now I've read and applied the chapter "Using the Validator Outside of Struts" in "Programming Jakarta Struts" and tried the code there. [...] Content analysis details: NO_REAL_NAME (0.8 points) From: does not include a real name ---- End SpamAssassin results X-Spam-Processed: mail.msc, Tue, 23 Mar 2004 13:18:11 +0100 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi I'm trying to use the Struts validator classes outside of Struts. I asked this question earlier, but by now I've read and applied the chapter "Using the Validator Outside of Struts" in "Programming Jakarta Struts" and tried the code there. Has anybody else tried this and succeeded? I get a NullPointerException at org.apache.struts.validator.Resources.getMessageResources(Resources.java:150 ), so I suspect the Struts validator can't find my ApplicationResources.properties. I don't know too much about the place of the ApplicationResources; I placed them into the root of my classes tree, but that didn't work. Any help is greatly appreciated. Best regards, Eric --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org