Advertisement

09.10.2006 at 11:11PM PDT, ID: 21984462
[x]
Attachment Details

<logic:empty>

Asked by tunhien in Java Programming Language

  <%
          Category category = new Category();
    %>
   
    <logic:notEqual name="id" value="0">
      <%
         ...       
             category = category.selectCategory();
      %>       
      </logic:notEqual>                   
      <logic:equal name="id" value="0">
      <%
         ...
           category = category.selectCategory();
      %>       
      </logic:equal>                   
            
      <logic:notEmpty name="category" property="name">
      <td class="listitem"><%=category.getName()%></td>
      </logic:notEmpty>

Why cant I compare "name" property with "null" ? It always writes "category.getName()" value although "category.getName()" value is null or not null .Start Free Trial
[+][-]09.10.2006 at 11:18PM PDT, ID: 17491992

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.10.2006 at 11:24PM PDT, ID: 17492010

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.10.2006 at 11:26PM PDT, ID: 17492013

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.10.2006 at 11:39PM PDT, ID: 17492050

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.10.2006 at 11:41PM PDT, ID: 17492057

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Java Programming Language
Sign Up Now!
Solution Provided By: objects
Participating Experts: 2
Solution Grade: B
 
 
[+][-]09.11.2006 at 02:37AM PDT, ID: 17492813

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.11.2006 at 02:41AM PDT, ID: 17492822

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.11.2006 at 02:57AM PDT, ID: 17492953

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.11.2006 at 03:04AM PDT, ID: 17493015

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32