Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 56554 invoked from network); 11 Sep 2009 13:59:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Sep 2009 13:59:04 -0000 Received: (qmail 44689 invoked by uid 500); 11 Sep 2009 13:59:02 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 44615 invoked by uid 500); 11 Sep 2009 13:59:02 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 44605 invoked by uid 99); 11 Sep 2009 13:59:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 13:59:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of poulwiel@gmail.com designates 209.85.211.202 as permitted sender) Received: from [209.85.211.202] (HELO mail-yw0-f202.google.com) (209.85.211.202) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 13:58:52 +0000 Received: by ywh40 with SMTP id 40so1598555ywh.8 for ; Fri, 11 Sep 2009 06:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=qR2qTQF8f4f+DStYRQfw5qM/3Bp5czleWOS+iIIR3go=; b=cDpWSNhJx4+j4U9gBblMZbozquC5a0awX7ZblSEKjQgS+LwcNyH1zE0EQk15vEUh1w 0Km9Z3vtx5koiQJ8gSeDfcpoUpAgi2FlbVnJZ8vctgFzRQk1Wd5R51N9jx27UFYhGPWe 1Q/AbxZxpol2o6knvc+cJbrRDuzuHh193r0/U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=brUaTdiiJFfRXG5ZQeILOr7ndtx59UU6RCUMTEYDukVsWNMgRzNo+nzqc2dB+wPXRs 3wy/NApk2eYlqsqZBtMLaKB6zmxVRy4MVvMq+Clobs7QfwrwqFyU0VJBPdHFUM/qjyRn 2lfY4X7/QhyoUpxS3nONfqWbgTv+4rMqokZwA= MIME-Version: 1.0 Received: by 10.90.198.4 with SMTP id v4mr1695661agf.79.1252677511517; Fri, 11 Sep 2009 06:58:31 -0700 (PDT) In-Reply-To: <25401337.post@talk.nabble.com> References: <25401337.post@talk.nabble.com> Date: Fri, 11 Sep 2009 15:58:31 +0200 Message-ID: <5e5424000909110658s397069afh58873b5bcb9cec29@mail.gmail.com> Subject: Re: Struts jsp access java class From: =?ISO-8859-2?Q?Pawe=B3_Wielgus?= To: Struts Users Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi, something like < s:if test=3D"@com.something.PropertiesConfig@getCaptchaEnabled()"/> it was on this list a while ago. Best greetings, Pawe=C5=82 Wielgus. 2009/9/11 deepannair : > > I have a properties class which has soem properties being loaded from a > remote system. In my jsp I need to access the java class. In traditional = jsp > I have > [code] > <% > /* CAPTCHA */ > boolean captchaEnabledFlag=3DPropertiesConfig.getCaptchaEnabled(); > %> > <%if (captchaEnabledFlag) =C2=A0{%> > > > <%} %> > [code] > > I want to change the if statement to =C2=A0struts if . How do I ac= cess the > PropertiesConfig class directly from struts tag? > -- > View this message in context: http://www.nabble.com/Struts-jsp-access-jav= a-class-tp25401337p25401337.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org