Hi,

I'm using Struts 1.3.  I have this in my JSP page ...

<%
        final RoutingEnginePropertiesMgr rePropMgr =
RoutingEnginePropertiesMgr.getInstance(); 
        if (rePropMgr.isUseCaptcha()) { 
%>
                <script type="text/javascript"
src="https://api-secure.recaptcha.net/challenge?k=<%=
rePropMgr.getCaptchaPublicKey() %>"></script>
<%
        }   // if 
%>

Is there a cleaner way to write this that avoids using scriptlets?

Thanks for any advice, - Dave
-- 
View this message in context: 
http://www.nabble.com/Cleaner-way-to-create-this-page--tp24683147p24683147.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

Reply via email to