Re: logic:iterate Get last element of a list

2005-07-10 Thread ichy
hi, Espen. you need to use scriptlet for the calculation. you can do something like i hope this will help you. ichy 2005/7/11, Espen Nicolaisen <[EMAIL PROTECTED]>: > > When I'm iterating through a list I want to check the last element. I want > to use bean:size and indexId which I declare

logic:iterate Get last element of a list

2005-07-10 Thread Espen Nicolaisen
When I'm iterating through a list I want to check the last element. I want to use bean:size and indexId which I declare in logic:iterate. Since the index declarered in logic:iterate starts on zero I must check on How do I subtract 1 from index? ---

two slashes problem ...

2005-07-10 Thread Tim Burrell
Hello. There was a bug (105695) that was fixed in 1.2.6 of struts. Basically, if your application is the root application, the following: would yield the following html: The 2 slashes were a problem. This bug, I believe has been fixed. My problem is with the following