struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Struts jsp access java class
Date Fri, 11 Sep 2009 13:59:59 GMT

 Check out <s:bean>





-----Original Message-----
From: deepannair <>
Sent: Fri, Sep 11, 2009 9:51 am
Subject: Struts jsp access java class

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 
boolean captchaEnabledFlag=PropertiesConfig.getCaptchaEnabled();
<%if (captchaEnabledFlag)  {%>
<jsp:include page="/WEB-INF/jsp/sirius/login/captcha.jsp"/>
<%} %>

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:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message