Try this

<% if(!debug) { %>
<useBean...../>
<% } else {
   declare the bean yourself (otherwise any code that references it won't
work)
   }
%>

Sam

> Is there a way to conditionally use the <jsp:useBean> tag based upon
> run-time attributes?

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to