Re: javax.servlet.jsp.tagext package binary download
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 you might expect from the package name (javax.servlet...), this is part of the servlet / JSP API, and so is not part of any particular taglib. Note that packages from Jakarta Taglibs would be org.apache... anyway. As for where to get this, it will be included as part of your container, but the specific jar name depends on the container you are using. You can also download the servlet / JSP API from the Tomcat distribution directories - see the Tomcat web site for details. -- Martin Cooper Thanx in advance Puneet Monga - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
javax.servlet.jsp.tagext package binary download
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 Puneet Monga
Re: HashMap of HashMaps and nested loop
Yes, you can (at least source seems to do this): 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 getValue) So you could iterate over the inner map: and get the inner keys and entries the same way: ${innerEntry.key} ${innerEntry.value} It's not true that the correct thing would be "getVar_name". The public method (the thing that everybody sees) is getVarName, and then, the property is varName. The name of the private field you use to store the value (in case it has a directly corresponding field) is not a bean's problem. At 18:14 09/07/2004 +0200, 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? wrt my object, I know realize that the getters use a non-standard syntax (like: private String var_name; : public String getVarName() //rather than getVar_name() is this a deadly sin? thanks luca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HashMap of HashMaps and nested loop
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 getters and setters in the objects that are in the nested HashMaps. If so, I have written a tag for my personal tag library to do just that, because it is so danged useful. This was not hard to do. All you have to do is to look at some of the standard struts bean-write stuff and modify it to meet your criteria. Maybe someone else has an answer, however, that is in the regular stack of things available. wrt my object, I know realize that the getters use a non-standard syntax (like: private String var_name; : public String getVarName() //rather than getVar_name() is this a deadly sin? Yes. LOL Again, I am not sure what you are asking. Did you mean to say that "your" getters use a non-standard syntax? Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HashMap of HashMaps and nested loop
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() //rather than getVar_name() is this a deadly sin? thanks luca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[standard] Wrong behaviour of x:out inside x:forEach
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 prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %> == sample.xml: == == sample2.xml: == this is just a test! == I'm using JSTL 1.1, Jakarta Taglib Standard 1.1.0, Tomcat 5.0.25 (same problem on both linux and windows) Any suggestions? Is this a bug? flavio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]