Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 1 of 1

Thread: logic present tag

  1. #1
    Junior Member
    Join Date
    Jul 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default logic present tag

    <logic:present name="userlogin" property="text"/>

    <logic:present> tag is used to check the given Form Bean object or property is present or exists in the current request;

    Does it not matter the value of property is null or empty??

    because when my property value is going null or empty its always show the logic:present tag never show logic:notPresent Tag.


    But when i m doing same thing with Arraylist defined in the Form Bean with its Getter and Setter method if i m doing xxx.setArrayList(Arraylist) it showing logic:present and when i m not setting arraylist its showing logic:notPresent Tag.
    Last edited by naval.gupta4u@gmail.com; July 15th, 2012 at 01:29 AM. Reason: some mistake


Similar Threads

  1. How to get Present working Directory(Exact path) in java..?
    By smilyface in forum What's Wrong With My Code?
    Replies: 1
    Last Post: February 8th, 2012, 03:42 PM
  2. need logic
    By arunjib in forum Java Theory & Questions
    Replies: 3
    Last Post: November 27th, 2011, 05:39 PM
  3. Problem with the Logic
    By sudh in forum Java Theory & Questions
    Replies: 4
    Last Post: March 31st, 2011, 07:21 AM
  4. whats logic behind this?
    By X0X0 in forum What's Wrong With My Code?
    Replies: 0
    Last Post: February 26th, 2011, 02:48 PM
  5. Help with java logic
    By dever in forum What's Wrong With My Code?
    Replies: 7
    Last Post: February 7th, 2011, 08:41 AM

Tags for this Thread