This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JSP and the fly likes jstl - specify how many tokens Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jstl - specify how many tokens" Watch "jstl - specify how many tokens" New topic
Author

jstl - specify how many tokens

Alessandro Ilardo
Ranch Hand

Joined: Dec 23, 2005
Posts: 218
Hi there,
is there any way on the

where I can specify how many tokens should be written?


trying to decode a woman mind....
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

From the JSTL Spec:


6.1.4 Range Attributes

A set of range attributes is available to iterate over a subset of the collection of items.
The begin and end indices can be specified, along with a step. If the items
attribute is not specified, then the value of the current item is set to the integer value
of the current index.

In this example, i would take values from 100 to 110
(inclusive).




Hope it helps.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
jQuery in Action, 2nd edition
 
subject: jstl - specify how many tokens
 
Similar Threads
access to local variable via EL
URGENT - need some samples
problem on deviding th tokens
JSLT problem
Tokenizing string in Java