Just to make sure people are clear about ${empty param.choice} is true
only if the choice parameter was not specified on a form, e.g. there
is no input field named "choice" or, with a set of check boxes, if the
user did not specify a checkbox in the group named "choice"). Also,
${empty sessionScop
Thanks to all for helping me out,
Cheers
Manisha
-
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
Or ... you could create an error for that circumstance and have that
displayed on the same page ... not probably how I'd do it, but it's
certainly a way.
Personally, since you're probably displaying the data in a tabular
format, I would prefer to display a row that spans all columns and
simply dis
From: "Manisha Sathe" <[EMAIL PROTECTED]>
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.My
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 ) ? rig
day, January 17, 2005 8:35 AM
Subject: Re: How to detect empty array list / databean on JSP?
If you are not using JSTL, you can do the same thing using
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
likey that any "decsions' you shound do in Controller/Action.
.V
Manisha Sathe wrote:
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 ?
regards
Manisha
-
If you are not using JSTL, you can do the same thing using
On Sun, 16 Jan 2005 16:04:51 -0800 (PST), Manisha Sathe
<[EMAIL PROTECTED]> wrote:
> 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
From: "Manisha Sathe" <[EMAIL PROTECTED]>
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 );
<%@ taglib ur
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 ?
regards
Manisha
-
Do you Yahoo!?
The all-new My Yahoo! Get yours free!
10 matches
Mail list logo