Re: How can I convert this to JSTL?

2003-09-16 Thread Adam Hardy
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

How Can I Write To The Servlet Log Using JSTL?

2003-09-16 Thread Michael Duffy
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

Re: How Can I Write To The Servlet Log Using JSTL?

2003-09-16 Thread Serge Knystautas
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

RE: How Can I Write To The Servlet Log Using JSTL?

2003-09-16 Thread Chen, Gin
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

How to get the size of a java.util.List object in EL?

2003-09-16 Thread Billy Bacon
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