Thanks Wendy, 
 
For data bean empty -> what i mean is -> i select one particular record 
depending on ID given, and put in bean. if i do not find any record then can i 
check it at front end and display 'No record found'
 
But i think u mean to say i can check for (MyBean.MyPropert == null ) ? right ?
 
regards
Manisha
 


Wendy Smoak <[EMAIL PROTECTED]> wrote:
From: "Manisha Sathe" 
>I am putting one arraylist and one javabean object with 
>request.setAttribute......
> I can access this in JSP. But how i can detect that Arraylist and/or Bean 
> is empty ?

With JSTL, assuming you have done
request.setAttribute( "myList", list );



it's empty!


I'm not sure what it means for a bean to be empty though. Maybe you would 
check to see if a particular property is null?

-- 
Wendy Smoak




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


                
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - You care about security. So do we.

Reply via email to