A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
Joined: Oct 30, 2005
Dec 12, 2005 10:17:00
I having array list having values of Vendor name from database and i am setting that value in session.
I am getting this value in
page using the code given below
vendorArrLst = (
I need to get the value from the
(vendorArrLst) and display the values using logic:iterate tag in my JSP page.
kindly explain me the above case with help of coding.
Joined: Feb 15, 2005
Dec 12, 2005 14:06:00
Here's a link to the documentation on the logic:xxxx tags.
Give it a try, and see what you come up with. If it doesn't work, and you still need help, let us know.
Personally, though, I've stopped using logic:xxx tags in favor of JSTL (
Standard Tag Library) as they are more standard. Here's a link on JSTL:
You can also google "JSTL tutorial" and get a number of other good links.
Joined: Oct 12, 2005
Dec 12, 2005 21:13:00
Try the following code and if you still have any problem.then contact me
<%@ taglib uri="struts/logic-l" prefix="logic-l" %>
resent name="vendorArrLst " >
<bean:size id="size" name="vendorArrLst " />
<logic-l:greaterThan name="size" value="0">
<logic-l:iterate id="lt" name="vendorArrLst ">
I agree. Here's the link:
subject: logic:iterate Tag
I need ur support in sorting out the struts issue
Displaying values in JSP using Struts Tag
Problem displaying data in table
Logic Iterate Problem
Displaying Values in JSP Page using Struts
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015