Hi,
something like < s:if
test="@com.something.propertiescon...@getcaptchaenabled()"/>
it was on this list a while ago.

Best greetings,
Paweł Wielgus.


2009/9/11 deepannair <deepann...@gmail.com>:
>
> 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=PropertiesConfig.getCaptchaEnabled();
> %>
> <%if (captchaEnabledFlag)  {%>
> <jsp:include page="/WEB-INF/jsp/sirius/login/captcha.jsp"/>
>
> <%} %>
> [code]
>
> I want to change the if statement to  struts if <s:if> . How do I access the
> PropertiesConfig class directly from struts tag?
> --
> View this message in context: 
> http://www.nabble.com/Struts-jsp-access-java-class-tp25401337p25401337.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to