*| <c:if test="${empty sessionScope.myBean.myProperty}"> do something
</c:if>Which could have been easily found in a number of places, including: http://jakarta.apache.org/struts/userGuide/struts-logic.html#empty |* Mark
Peter Bosmans wrote:
Hi,
The api don't help me very much. The problem is how to execute or get the result of the arraylist.size() method in a jsp-page when the arraylist exists in the session scope (created by a struts-action)
Thanks for looking to my problem. Peter
Brian P Bohnet wrote:
Did you look at the api before submitting this question?
PeterBosmans wrote:
I have a arraylist of javabeans in my session. How can i check the size of this arraylist in a jsp-page (with the jstl taglib) I want to display different kind of text in the browser when the array is empty or not.
thanks in advance
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
-- Peter Bosmans Katholieke Hogeschool Limburg Universitaire Campus Gebouw B Bus 1 3590 Diepenbeek Tel. +32 11 230 770 Fax. +32 11 230 789 Mail. [EMAIL PROTECTED]
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
