hi all,
inside a x:forEach loop, i put an x:out that evaluates an XPath
expression on a document which is not same of the x:forEach.
The x:out seems to behave strangely. Take a look at following JSP:
===
%@ taglib prefix=x uri=http://java.sun.com/jsp/jstl/xml; %
%@ taglib
Hi, I have an HashMap of HashMaps. Can I use the JSTL
to make a nested loop to print out info about each objects
pointed by the loop of loops? which syntax?
wrt my object, I know realize that the getters use a non-standard
syntax (like:
private String var_name;
:
public String getVarName()
At 09:14 AM 7/9/2004, you wrote:
Hi, I have an HashMap of HashMaps. Can I use the JSTL
to make a nested loop to print out info about each objects
pointed by the loop of loops? which syntax?
I am not at all sure what you are asking. I would imagine that you are
wondering how to access the
Yes, you can (at least source seems to do this):
c:forEach items=mymap var=entry !-- where my map implements
java.util.Map --
iterates over the entries of the map.
Next you could get the key and the corresponding value:
${entry.key}
${entry.value}
(there are standard-named getters: getKey and
I browsed jakarta's apache site. I have downloaded the JSTL and that supports
JSTL1.1 and JSP2.0. But i didnt found the tagext package in it. Please forward me the
appropriate download link for this package or for the tag lib that contains this
package
Thanx in advance
On Fri, 9 Jul 2004, Puneet Monga wrote:
I browsed jakarta's apache site. I have downloaded the JSTL and that supports JSTL1.1 and JSP2.0. But i didnt found the tagext package in it. Please forward me the appropriate download link for this package or for the tag lib that contains this package
As