Return-Path: Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 14451 invoked from network); 9 Oct 2000 17:50:07 -0000 Received: from ns.rainbownet.com (HELO mail.rainbownet.com) (212.141.58.2) by locus.apache.org with SMTP; 9 Oct 2000 17:50:07 -0000 Received: from trazom.stylo.it (IDENT:thiebaud@trazom.stylo.it [212.141.58.130]) by mail.rainbownet.com (8.9.1/8.9.1) with SMTP id TAA28242 for ; Mon, 9 Oct 2000 19:49:39 +0200 (CEST) (envelope-from cthiebaud@stylo.it) From: Christophe Thiebaud To: struts-user@jakarta.apache.org Subject: error with parameters Date: Mon, 9 Oct 2000 19:29:37 +0200 X-Mailer: KMail [version 1.0.29] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00100919395000.17350@trazom.stylo.it> Content-Transfer-Encoding: quoted-printable X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Is there a way to use parameterized errors with struts ? in the example application the file ApplicationResources.properties has several string with a {0] tag,=20 (e.g. linkSubscription.noSubscription=3DNo subscription under attribute {= 0} but these strings are used only to throw JspException objects, like in: =09// Print this element to our output writer =09JspWriter writer =3D pageContext.getOut(); =09try { =09 writer.print(results.toString()); =09} catch (IOException e) { =09 throw new JspException =09=09(messages.getMessage("linkSubscription.io", e.toString())); =09} there is no way currently to have the struts tag ErrorsTag handle paramet= erized errors. how do struts users manage that ? Christophe