Can't you replace the whole scriptlet? c:forEach supports iterating over
arrays as well, so you change the for loop into a c:forEach.
I'm not clear what you are trying to achieve with the javascript Array()
- what is the parameter meant to be? A sequence of values or an index?
It looks like
What's the proper idiom to write to the Web app log
from a JSP using JSTL? Is it possible to do with JSTL
only, or is scriptlet code required?
Same for writing to the file system - how do I do it?
- MOD
__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use
Michael Duffy wrote:
What's the proper idiom to write to the Web app log
from a JSP using JSTL? Is it possible to do with JSTL
only, or is scriptlet code required?
Same for writing to the file system - how do I do it?
JSTL is the JSP standard tag library, so it just attempts to define the
most
JSTL has nothing to support something like this.
You can either write a taglib that does this or check out Log from taglibs.
http://jakarta.apache.org/taglibs/doc/log-doc/intro.html
-Tim
-Original Message-
From: Michael Duffy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003
I need to get the size (as an int) of a java.util.List I have. The following
doesn't work
c:out value=Size = ${browseForm.map.colInfoList.size}/
It gives me the following exception...
ServletException in:/jsp/browseQueueBody.jsp] An error occurred while
evaluating custom action attribute